Fix the description of --insert command-line option (Bug#19694)

doc/emacs/cmdargs.texi (Action Arguments): Clarify into which buffer
 '--insert' inserts.
This commit is contained in:
Eli Zaretskii 2015-01-26 19:41:38 +02:00
parent 7a7e594128
commit 3b23e6a702
2 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2015-01-26 Eli Zaretskii <eliz@gnu.org>
* cmdargs.texi (Action Arguments): Clarify into which buffer
'--insert' inserts. (Bug#19694)
2015-01-21 Eli Zaretskii <eliz@gnu.org> 2015-01-21 Eli Zaretskii <eliz@gnu.org>
* programs.texi (Custom C Indent): Fix a typo. (Bug#19647) * programs.texi (Custom C Indent): Fix a typo. (Bug#19647)

View file

@ -165,9 +165,12 @@ Evaluate Lisp expression @var{expression}.
@item --insert=@var{file} @item --insert=@var{file}
@opindex --insert @opindex --insert
@cindex insert file contents, command-line argument @cindex insert file contents, command-line argument
Insert the contents of @var{file} into the @file{*scratch*} buffer Insert the contents of @var{file} into the buffer that is current when
(@pxref{Lisp Interaction}). This is like what @kbd{M-x insert-file} this command-line argument is processed. Usually, this is the
does (@pxref{Misc File Ops}). @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 @item --kill
@opindex --kill @opindex --kill