[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] switch to file buffer from command line args regardless of `
From: |
Samer Masterson |
Subject: |
Re: [PATCH] switch to file buffer from command line args regardless of `initial-buffer-choice' |
Date: |
Thu, 28 May 2015 14:34:30 -0700 |
User-agent: |
Notmuch/0.19 (http://notmuchmail.org) Emacs/25.0.50.1 (x86_64-unknown-linux-gnu) |
Thank you! Installed as d3605ed7d173aa1c23ad8944cf92e7b810330cb8.
I added the following patch to the info.
-s
Patch below.
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index 97fa083..d18dee3 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -194,16 +194,22 @@ It processes any command-line options that were not
handled earlier.
It now exits if the option @code{--batch} was specified.
@item
+If the @file{*scratch*} buffer exists and is empty, it inserts
address@hidden into that buffer.
+
address@hidden
If @code{initial-buffer-choice} is a string, it visits the file (or
directory) with that name. If it is a function, it calls the function
-with no arguments and selects the buffer that it returns.
+with no arguments and selects the buffer that it returns. If one file
+is given as a command line argument, the file is opened alongside
address@hidden If more than one file is given, the
address@hidden List*} buffer is shown alongside
address@hidden
@ignore
@c I do not think this should be mentioned. AFAICS it is just a dodge
@c around inhibit-startup-screen not being settable on a site-wide basis.
If it is @code{t}, it selects the @file{*scratch*} buffer.
@end ignore
-If the @file{*scratch*} buffer exists and is empty, it inserts
address@hidden into that buffer.
@c To make things nice and confusing, the next three items can be
@c called from two places. If displaying a startup screen, they are