# HG changeset patch # User Chong Yidong # Date 1258214864 0 # Node ID 37fee35a62837b8471061d29cd3f39dfb9957e84 # Parent feb898981e9af7764777ab592a2c5cc2dd8bb5f2 * simple.el (shell-command): Doc fix (Bug#4891). diff -r feb898981e9a -r 37fee35a6283 lisp/ChangeLog --- a/lisp/ChangeLog Sat Nov 14 15:44:43 2009 +0000 +++ b/lisp/ChangeLog Sat Nov 14 16:07:44 2009 +0000 @@ -1,5 +1,7 @@ 2009-11-14 Chong Yidong + * simple.el (shell-command): Doc fix (Bug#4891). + * help-mode.el (help-make-xrefs): Revert 2009-11-13 change. 2009-11-14 Glenn Morris diff -r feb898981e9a -r 37fee35a6283 lisp/simple.el --- a/lisp/simple.el Sat Nov 14 15:44:43 2009 +0000 +++ b/lisp/simple.el Sat Nov 14 16:07:44 2009 +0000 @@ -2110,7 +2110,8 @@ If OUTPUT-BUFFER is a buffer or buffer name, put the output there. If OUTPUT-BUFFER is not a buffer and not nil, insert output in current buffer. (This cannot be done asynchronously.) -In either case, the output is inserted after point (leaving mark after it). +In either case, the buffer is first erased, and the output is +inserted after point (leaving mark after it). If the command terminates without error, but generates output, and you did not specify \"insert it in the current buffer\",