diff options
Diffstat (limited to 'lisp/format.el')
-rw-r--r-- | lisp/format.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/format.el b/lisp/format.el index 0436187d984..b4277ef6df0 100644 --- a/lisp/format.el +++ b/lisp/format.el @@ -181,8 +181,7 @@ it should be a Lisp function. Decoding is done for the given BUFFER." ;; We should perhaps go via a temporary buffer and copy it ;; back, in case of errors. (if (and (zerop (save-window-excursion - (shell-command-on-region (point-min) (point-max) - method t t + (shell-command-on-region from to method t t error-buff))) ;; gzip gives zero exit status with bad args, for instance. (zerop (with-current-buffer error-buff |