diff options
| author | Glenn Morris | 2012-03-25 17:37:04 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-03-25 17:37:04 -0700 |
| commit | 33da7b164bf352bdef4a8b0cf91a353f99a1c9ff (patch) | |
| tree | c09b4ad679685dc1567034479e61026dd00461a1 /lisp | |
| parent | f514f6f0e3f8bbeb5212d0337e5bda5a9a4eaeb5 (diff) | |
| download | emacs-33da7b164bf352bdef4a8b0cf91a353f99a1c9ff.tar.gz emacs-33da7b164bf352bdef4a8b0cf91a353f99a1c9ff.zip | |
Small edits for lispref/os.texi
* doc/lispref/os.texi (Startup Summary): Copyedits. Fix startup screen logic.
(Init File): Copyedits.
(Command-Line Arguments): Copyedits. Do not mention argv alias.
* lisp/startup.el (normal-top-level, command-line, command-line-1):
Give them doc strings.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/startup.el | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5a0c33da3c8..0903c2c2fd5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-03-26 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * startup.el (normal-top-level, command-line, command-line-1): | ||
| 4 | Give them doc strings. | ||
| 5 | |||
| 1 | 2012-03-25 Eli Zaretskii <eliz@gnu.org> | 6 | 2012-03-25 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead | 8 | * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead |
diff --git a/lisp/startup.el b/lisp/startup.el index 41056f3907e..57d7a74e5ec 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -65,6 +65,8 @@ once you are familiar with the contents of the startup screen." | |||
| 65 | 65 | ||
| 66 | (defvar startup-screen-inhibit-startup-screen nil) | 66 | (defvar startup-screen-inhibit-startup-screen nil) |
| 67 | 67 | ||
| 68 | ;; FIXME? Why does this get such weirdly extreme treatment, when the | ||
| 69 | ;; more important inhibit-startup-screen does not. | ||
| 68 | (defcustom inhibit-startup-echo-area-message nil | 70 | (defcustom inhibit-startup-echo-area-message nil |
| 69 | "Non-nil inhibits the initial startup echo area message. | 71 | "Non-nil inhibits the initial startup echo area message. |
| 70 | Setting this variable takes effect | 72 | Setting this variable takes effect |
| @@ -464,6 +466,10 @@ DIRS are relative." | |||
| 464 | (setcdr tail (append (mapcar 'expand-file-name dirs) (cdr tail)))))) | 466 | (setcdr tail (append (mapcar 'expand-file-name dirs) (cdr tail)))))) |
| 465 | 467 | ||
| 466 | (defun normal-top-level () | 468 | (defun normal-top-level () |
| 469 | "Emacs calls this function when it first starts up. | ||
| 470 | It sets `command-line-processed', processes the command-line, | ||
| 471 | reads the initialization files, etc. | ||
| 472 | It is the default value of the variable `top-level'." | ||
| 467 | (if command-line-processed | 473 | (if command-line-processed |
| 468 | (message "Back to top level.") | 474 | (message "Back to top level.") |
| 469 | (setq command-line-processed t) | 475 | (setq command-line-processed t) |
| @@ -701,6 +707,8 @@ opening the first frame (e.g. open a connection to an X server).") | |||
| 701 | (defvar server-process) | 707 | (defvar server-process) |
| 702 | 708 | ||
| 703 | (defun command-line () | 709 | (defun command-line () |
| 710 | "A subroutine of `normal-top-level'. | ||
| 711 | Amongst another things, it parses the command-line arguments." | ||
| 704 | (setq before-init-time (current-time) | 712 | (setq before-init-time (current-time) |
| 705 | after-init-time nil | 713 | after-init-time nil |
| 706 | command-line-default-directory default-directory) | 714 | command-line-default-directory default-directory) |
| @@ -2076,6 +2084,7 @@ A fancy display is used on graphic displays, normal otherwise." | |||
| 2076 | (defalias 'display-splash-screen 'display-startup-screen) | 2084 | (defalias 'display-splash-screen 'display-startup-screen) |
| 2077 | 2085 | ||
| 2078 | (defun command-line-1 (args-left) | 2086 | (defun command-line-1 (args-left) |
| 2087 | "A subroutine of `command-line'." | ||
| 2079 | (display-startup-echo-area-message) | 2088 | (display-startup-echo-area-message) |
| 2080 | (when (and pure-space-overflow | 2089 | (when (and pure-space-overflow |
| 2081 | (not noninteractive)) | 2090 | (not noninteractive)) |