From: Eli Zaretskii Date: Mon, 26 Jan 2015 17:41:38 +0000 (+0200) Subject: Fix the description of --insert command-line option (Bug#19694) X-Git-Tag: emacs-24.4.90~36 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3b23e6a;p=emacs.git Fix the description of --insert command-line option (Bug#19694) doc/emacs/cmdargs.texi (Action Arguments): Clarify into which buffer '--insert' inserts. --- diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index d1378a34c19..93ae618d1bc 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,8 @@ +2015-01-26 Eli Zaretskii + + * cmdargs.texi (Action Arguments): Clarify into which buffer + '--insert' inserts. (Bug#19694) + 2015-01-21 Eli Zaretskii * programs.texi (Custom C Indent): Fix a typo. (Bug#19647) diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi index f724f77e230..42c8e33d5c7 100644 --- a/doc/emacs/cmdargs.texi +++ b/doc/emacs/cmdargs.texi @@ -165,9 +165,12 @@ Evaluate Lisp expression @var{expression}. @item --insert=@var{file} @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 +@file{*scratch*} 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