mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
* simple.el (shell-command-on-region): Say where the error output
went if `shell-command-default-error-buffer' is set. Fixes: debbugs:6857
This commit is contained in:
parent
e47ca23bcf
commit
e83cc1f76a
2 changed files with 9 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* simple.el (shell-command-on-region): Say where the error output
|
||||
went if `shell-command-default-error-buffer' is set (bug#6857).
|
||||
|
||||
2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
|
||||
|
||||
* allout.el (allout-yank-processing): Adjust cursor position for
|
||||
|
|
|
|||
|
|
@ -2531,7 +2531,10 @@ specifies the value of ERROR-BUFFER."
|
|||
(let ((output
|
||||
(if (and error-file
|
||||
(< 0 (nth 7 (file-attributes error-file))))
|
||||
"some error output"
|
||||
(format "some error output%s"
|
||||
(if shell-command-default-error-buffer
|
||||
(format " to the \"%s\" buffer" shell-command-default-error-buffer)
|
||||
""))
|
||||
"no output")))
|
||||
(cond ((null exit-status)
|
||||
(message "(Shell command failed with error)"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue