diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-01-26 19:41:38 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-01-26 19:41:38 +0200 |
commit | 3b23e6a70294a3fee23353bfb8a23c7167d7c4ef (patch) | |
tree | 5887fa9e0f42a9bb745b5fc32b3fe211eb34198e | |
parent | 7a7e5941280a7690f29e1af7325bc0cf7f9b41a2 (diff) | |
download | emacs-3b23e6a70294a3fee23353bfb8a23c7167d7c4ef.tar.gz |
Fix the description of --insert command-line option (Bug#19694)
doc/emacs/cmdargs.texi (Action Arguments): Clarify into which buffer
'--insert' inserts.
-rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <eliz@gnu.org> + + * cmdargs.texi (Action Arguments): Clarify into which buffer + '--insert' inserts. (Bug#19694) + 2015-01-21 Eli Zaretskii <eliz@gnu.org> * 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 |