diff options
author | Tino Calancha <tino.calancha@gmail.com> | 2016-08-25 22:17:56 +0900 |
---|---|---|
committer | Tino Calancha <tino.calancha@gmail.com> | 2016-08-25 22:17:56 +0900 |
commit | 5e84dcefb4b7fcf3b5af985345ed1ee5ef5df135 (patch) | |
tree | 872bead49b7bcb8494df444d2f7448af4e45e932 /etc | |
parent | 95c82efdb141029de89d9136a9ce4fe907de7c5e (diff) |
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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -56,6 +56,10 @@ affected by this, as SGI stopped supporting IRIX in December 2013. * Changes in Emacs 25.2 +++ +** The new funtion 'call-shell-region' executes a command in an +inferior shell with the buffer region as input. + ++++ ** The new user option 'shell-command-not-erase-buffer' controls if the output buffer is erased between shell commands; if non-nil, the output buffer is not erased; this variable also controls where |