diff options
| author | Chong Yidong | 2009-04-22 01:29:25 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-04-22 01:29:25 +0000 |
| commit | be77bd4536332e49e454cb8170cc911c46341249 (patch) | |
| tree | 8234e3f7ce7fcb02535391f9430a8fdd6c291be1 | |
| parent | 5a8f12af673944f18e63c07268d3657c52596a5b (diff) | |
| download | emacs-be77bd4536332e49e454cb8170cc911c46341249.tar.gz emacs-be77bd4536332e49e454cb8170cc911c46341249.zip | |
* entering.texi (Entering Emacs): Document initial-buffer-choice.
* building.texi (Lisp Interaction): Document initial-scratch-message.
| -rw-r--r-- | doc/emacs/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/emacs/building.texi | 7 | ||||
| -rw-r--r-- | doc/emacs/entering.texi | 22 |
3 files changed, 28 insertions, 7 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 05778295905..ae57d3f74a9 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2009-04-22 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * entering.texi (Entering Emacs): Document initial-buffer-choice. | ||
| 4 | |||
| 5 | * building.texi (Lisp Interaction): Document initial-scratch-message. | ||
| 6 | |||
| 1 | 2009-04-18 Juanma Barranquero <lekktu@gmail.com> | 7 | 2009-04-18 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 8 | ||
| 3 | * msdog.texi (Windows Fonts): Fix typos. | 9 | * msdog.texi (Windows Fonts): Fix typos. |
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi index 4c79c047170..19c09ab9a12 100644 --- a/doc/emacs/building.texi +++ b/doc/emacs/building.texi | |||
| @@ -1404,6 +1404,13 @@ point, evaluates it, and inserts the value in printed representation | |||
| 1404 | before point. The result is a complete typescript of the expressions | 1404 | before point. The result is a complete typescript of the expressions |
| 1405 | you have evaluated and their values. | 1405 | you have evaluated and their values. |
| 1406 | 1406 | ||
| 1407 | @vindex initial-scratch-message | ||
| 1408 | At startup, the @samp{*scratch*} buffer contains a short message, in | ||
| 1409 | the form of a Lisp comment, that explains what it is for. This | ||
| 1410 | message is controlled by the variable @code{initial-scratch-message}, | ||
| 1411 | which should be either a string or @code{nil}. If you set it to the | ||
| 1412 | empty string, or @code{nil}, the initial message is suppressed. | ||
| 1413 | |||
| 1407 | @findex lisp-interaction-mode | 1414 | @findex lisp-interaction-mode |
| 1408 | All other commands in Lisp Interaction mode are the same as in Emacs | 1415 | All other commands in Lisp Interaction mode are the same as in Emacs |
| 1409 | Lisp mode. You can enable Lisp Interaction mode by typing @kbd{M-x | 1416 | Lisp mode. You can enable Lisp Interaction mode by typing @kbd{M-x |
diff --git a/doc/emacs/entering.texi b/doc/emacs/entering.texi index 213d688b363..d7ebb39339b 100644 --- a/doc/emacs/entering.texi +++ b/doc/emacs/entering.texi | |||
| @@ -64,13 +64,13 @@ certain Lisp files, call certain functions, and so forth. These | |||
| 64 | features exist mainly for advanced users. @xref{Emacs Invocation}. | 64 | features exist mainly for advanced users. @xref{Emacs Invocation}. |
| 65 | 65 | ||
| 66 | @vindex inhibit-startup-screen | 66 | @vindex inhibit-startup-screen |
| 67 | If the value of the variable @code{inhibit-startup-screen} is | 67 | If the variable @code{inhibit-startup-screen} is non-@code{nil}, |
| 68 | non-@code{nil}, Emacs does not display the startup screen. In that | 68 | Emacs does not display the startup screen. In that case, if one or |
| 69 | case, if one or more files were specified on the command line, Emacs | 69 | more files were specified on the command line, Emacs simply displays |
| 70 | simply displays those files; otherwise, it displays a buffer named | 70 | those files; otherwise, it displays a buffer named @samp{*scratch*}, |
| 71 | @samp{*scratch*}, which can be used to evaluate Emacs Lisp expressions | 71 | which can be used to evaluate Emacs Lisp expressions interactively. |
| 72 | interactively (@pxref{Lisp Interaction}). You can set the variable | 72 | @xref{Lisp Interaction}. You can set the variable |
| 73 | @code{inhibit-startup-screen} by using the Customize facility | 73 | @code{inhibit-startup-screen} using the Customize facility |
| 74 | (@pxref{Easy Customization}), or by editing your initialization file | 74 | (@pxref{Easy Customization}), or by editing your initialization file |
| 75 | (@pxref{Init File}).@footnote{Note that setting | 75 | (@pxref{Init File}).@footnote{Note that setting |
| 76 | @code{inhibit-startup-screen} in @file{site-start.el} doesn't work, | 76 | @code{inhibit-startup-screen} in @file{site-start.el} doesn't work, |
| @@ -78,6 +78,14 @@ because the startup screen is set up before reading | |||
| 78 | @file{site-start.el}. @xref{Init File}, for information about | 78 | @file{site-start.el}. @xref{Init File}, for information about |
| 79 | @file{site-start.el}.} | 79 | @file{site-start.el}.} |
| 80 | 80 | ||
| 81 | You can also force Emacs to display a file or directory at startup | ||
| 82 | by setting the variable @code{initial-buffer-choice} to a | ||
| 83 | non-@code{nil} value. (In that case, even if you specify one or more | ||
| 84 | files on the command line, Emacs opens but does not display them.) | ||
| 85 | The value of @code{initial-buffer-choice} can be either the name of | ||
| 86 | the desired file or directory, or @code{t}, which means to display the | ||
| 87 | @samp{*scratch*} buffer. | ||
| 88 | |||
| 81 | @node Exiting, Basic, Entering Emacs, Top | 89 | @node Exiting, Basic, Entering Emacs, Top |
| 82 | @section Exiting Emacs | 90 | @section Exiting Emacs |
| 83 | @cindex exiting | 91 | @cindex exiting |