mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
(shell-command-on-region): EXIT-STATUS can be a string.
This commit is contained in:
parent
7c3b9c62f6
commit
a92da273b4
@ -1329,7 +1329,7 @@ specifies the value of ERROR-BUFFER."
|
||||
(list buffer error-file)
|
||||
buffer)
|
||||
nil shell-command-switch command)))
|
||||
(setq success (and exit-status (zerop exit-status)))
|
||||
(setq success (and exit-status (equal 0 exit-status)))
|
||||
;; Report the amount of output.
|
||||
(let ((lines (save-excursion
|
||||
(set-buffer buffer)
|
||||
|
Loading…
Reference in New Issue
Block a user