unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14279: [PATCH] Mistake in shell-command-on-region docstring
@ 2013-04-26 21:05 Kelly Dean
  2013-05-06 20:14 ` Juri Linkov
  0 siblings, 1 reply; 2+ messages in thread
From: Kelly Dean @ 2013-04-26 21:05 UTC (permalink / raw)
  To: 14279

[-- Attachment #1: Type: text/plain, Size: 95 bytes --]

If OUTPUT-BUFFER is nil, *Shell Command Output*' is used, contrary to what the docstring says.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: docstringbug.patch --]
[-- Type: text/x-diff; name="docstringbug.patch", Size: 455 bytes --]

--- emacs-24.3/lisp/simple.el
+++ emacs-24.3/lisp/simple.el
@@ -2624,7 +2624,7 @@
 
 Optional fourth arg OUTPUT-BUFFER specifies where to put the
 command's output.  If the value is a buffer or buffer name, put
-the output there.  Any other value, including nil, means to
+the output there.  Any other value, excluding nil, means to
 insert the output in the current buffer.  In either case, the
 output is inserted after point (leaving mark after it).
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#14279: [PATCH] Mistake in shell-command-on-region docstring
  2013-04-26 21:05 bug#14279: [PATCH] Mistake in shell-command-on-region docstring Kelly Dean
@ 2013-05-06 20:14 ` Juri Linkov
  0 siblings, 0 replies; 2+ messages in thread
From: Juri Linkov @ 2013-05-06 20:14 UTC (permalink / raw)
  To: Kelly Dean; +Cc: 14279-done

> If OUTPUT-BUFFER is nil, *Shell Command Output*' is used,
> contrary to what the docstring says.
>
>  Optional fourth arg OUTPUT-BUFFER specifies where to put the
>  command's output.  If the value is a buffer or buffer name, put
> -the output there.  Any other value, including nil, means to
> +the output there.  Any other value, excluding nil, means to
>  insert the output in the current buffer.  In either case, the
>  output is inserted after point (leaving mark after it).

Thanks, fixed.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-06 20:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-26 21:05 bug#14279: [PATCH] Mistake in shell-command-on-region docstring Kelly Dean
2013-05-06 20:14 ` Juri Linkov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).