1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00
emacs/doc
Tino Calancha c7119916dc Allow not erase output buffer in shell commands
* lisp/simple.el (shell-command-not-erase-buffer): New option to allow
not erasing the output buffer between shell commands.  Defaults to nil.
(shell-command-on-region): Use it.
(shell-command--save-pos-or-erase): New defun; store a buffer position
if 'shell-command-not-erase-buffer' is non-nil; otherwise
erase the output buffer of the shell command.
(shell-command, shell-command-on-region): Use it.
(shell-command--set-point-after-cmd): New defun;
if 'shell-command-not-erase-buffer' is non-nil, set point
in the output buffer to the position in 'shell-command-saved-pos'.
(shell-command-sentinel, shell-command-on-region): Use it.
* doc/emacs/misc.texi (shell-command-not-erase-buffer):
Document this feature in the manual.
; * etc/NEWS: Add entry for this new feature.
See discussion on:
http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00610.html
2016-08-16 18:18:44 +09:00
..
emacs Allow not erase output buffer in shell commands 2016-08-16 18:18:44 +09:00
lispintro Fix comment in files-in-below-directory 2016-07-28 19:53:58 -04:00
lispref Fix docs on `display-buffer-below-selected' (Bug#24213) 2016-08-13 09:59:14 +02:00
man * doc/man/emacsclient.1: Document +line:column option. 2016-03-29 14:20:12 -07:00
misc Rearrange Tramp manual title page 2016-08-16 09:48:24 +02:00