1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

* startup.el (initial-buffer-choice): Add `none' as a choice

Fixes: debbugs:6234
This commit is contained in:
Lars Magne Ingebrigtsen 2011-07-13 23:53:41 +02:00
parent 63d55f1f91
commit 0f04b32ce1
2 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
* startup.el (initial-buffer-choice): Add `none' as a choice
(bug#6234).
* subr.el (add-hook): Clarify section about buffer-local hooks
(bug#6218).

View File

@ -41,13 +41,16 @@
(defcustom initial-buffer-choice nil
"Buffer to show after starting Emacs.
If the value is nil and `inhibit-startup-screen' is nil, show the
startup screen. If the value is string, visit the specified file or
directory using `find-file'. If t, open the `*scratch*' buffer."
startup screen. If the value is string, visit the specified file
or directory using `find-file'. If t, open the `*scratch*'
buffer. If `none', don't select anything, but show the
buffer (if any) selected by the startup file."
:type '(choice
(const :tag "Startup screen" nil)
(directory :tag "Directory" :value "~/")
(file :tag "File" :value "~/.emacs")
(const :tag "Lisp scratch buffer" t))
(const :tag "Lisp scratch buffer" t)
(const :tag "Select no buffer" 'none))
:version "23.1"
:group 'initialization)