From 3b23e6a70294a3fee23353bfb8a23c7167d7c4ef Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 26 Jan 2015 19:41:38 +0200 Subject: [PATCH] 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 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 -- 2.39.2