emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 3b23e6a: Fix the description of --insert command-


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-24 3b23e6a: Fix the description of --insert command-line option (Bug#19694)
Date: Mon, 26 Jan 2015 17:43:23 +0000

branch: emacs-24
commit 3b23e6a70294a3fee23353bfb8a23c7167d7c4ef
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix the description of --insert command-line option  (Bug#19694)
    
     doc/emacs/cmdargs.texi (Action Arguments): Clarify into which buffer
     '--insert' inserts.
---
 doc/emacs/ChangeLog    |    5 +++++
 doc/emacs/cmdargs.texi |    9 ++++++---
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index d1378a3..93ae618 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-26  Eli Zaretskii  <address@hidden>
+
+       * cmdargs.texi (Action Arguments): Clarify into which buffer
+       '--insert' inserts.  (Bug#19694)
+
 2015-01-21  Eli Zaretskii  <address@hidden>
 
        * programs.texi (Custom C Indent): Fix a typo.  (Bug#19647)
diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi
index f724f77..42c8e33 100644
--- a/doc/emacs/cmdargs.texi
+++ b/doc/emacs/cmdargs.texi
@@ -165,9 +165,12 @@ Evaluate Lisp expression @var{expression}.
 @item address@hidden
 @opindex --insert
 @cindex insert file contents, command-line argument
-Insert the contents of @var{file} into the @file{*scratch*} buffer
-(@pxref{Lisp Interaction}).  This is like what @kbd{M-x insert-file}
-does (@pxref{Misc File Ops}).
+Insert the contents of @var{file} into the buffer that is current when
+this command-line argument is processed.  Usually, this is the
address@hidden buffer (@pxref{Lisp Interaction}), but if arguments
+earlier on the command line visit files or switch buffers, that might
+be a different buffer.  The effect of this command-line argument is
+like what @kbd{M-x insert-file} does (@pxref{Misc File Ops}).
 
 @item --kill
 @opindex --kill



reply via email to

[Prev in Thread] Current Thread [Next in Thread]