call-shell-region: New defun
commit5e84dcefb4b7fcf3b5af985345ed1ee5ef5df135
authorTino Calancha <tino.calancha@gmail.com>
Thu, 25 Aug 2016 13:17:56 +0000 (25 22:17 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Thu, 25 Aug 2016 13:17:56 +0000 (25 22:17 +0900)
tree872bead49b7bcb8494df444d2f7448af4e45e932
parent95c82efdb141029de89d9136a9ce4fe907de7c5e
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.
doc/lispref/processes.texi
etc/NEWS
lisp/gnus/message.el
lisp/simple.el
lisp/subr.el