aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorTino Calancha2016-08-25 22:17:56 +0900
committerTino Calancha2016-08-25 22:17:56 +0900
commit5e84dcefb4b7fcf3b5af985345ed1ee5ef5df135 (patch)
tree872bead49b7bcb8494df444d2f7448af4e45e932 /etc
parent95c82efdb141029de89d9136a9ce4fe907de7c5e (diff)
downloademacs-5e84dcefb4b7fcf3b5af985345ed1ee5ef5df135.tar.gz
emacs-5e84dcefb4b7fcf3b5af985345ed1ee5ef5df135.zip
call-shell-region: New defun
Suggested by Stefan Monnier in Bug#22679. * lisp/subr.el (call-shell-region): New defun; execute a command in an inferior shell with the buffer region as input. * lisp/simple.el (shell-command-on-region): Use it. * lisp/gnus/message.el (message-do-fcc): Idem. * doc/lispref/processes.texi: Document call-shell-region in the manual. ;* etc/NEWS: Add entry for this new function.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 494a091a361..d30d1faf7ab 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -56,6 +56,10 @@ affected by this, as SGI stopped supporting IRIX in December 2013.
56* Changes in Emacs 25.2 56* Changes in Emacs 25.2
57 57
58+++ 58+++
59** The new funtion 'call-shell-region' executes a command in an
60inferior shell with the buffer region as input.
61
62+++
59** The new user option 'shell-command-not-erase-buffer' controls 63** The new user option 'shell-command-not-erase-buffer' controls
60if the output buffer is erased between shell commands; if non-nil, 64if the output buffer is erased between shell commands; if non-nil,
61the output buffer is not erased; this variable also controls where 65the output buffer is not erased; this variable also controls where