X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/bb8b90a69da4b7fad2377dcba0cdd236568b8f3f..dfff928448aab7e56fec6c1476383b5b104b4c6d:/doc/emacs/entering.texi diff --git a/doc/emacs/entering.texi b/doc/emacs/entering.texi index bb89e6ffd8..66b90d1447 100644 --- a/doc/emacs/entering.texi +++ b/doc/emacs/entering.texi @@ -74,11 +74,14 @@ up before reading @file{site-start.el}. @xref{Init File}, for information about @file{site-start.el}.} You can also force Emacs to display a file or directory at startup -by setting the variable @code{initial-buffer-choice} to a -non-@code{nil} value. (In that case, even if you specify one or more -files on the command line, Emacs opens but does not display them.) -The value of @code{initial-buffer-choice} should be the name of -the desired file or directory. +by setting the variable @code{initial-buffer-choice} to a a string +naming that file or directory. The value of +@code{initial-buffer-choice} may also be a function which should +return a buffer which is then displayed. @code{initial-buffer-choice} +may also be @code{t} in which case the @file{*scratch*} buffer will be +shown. In any case, even if you specify one or more files on the +command line, Emacs opens but does not display them if +@code{initial-buffer-choice} is non-nil. @node Exiting @section Exiting Emacs