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 d4262e2d0e6..8f2ef2c39a5 100644 --- a/lisp/format.el +++ b/lisp/format.el @@ -180,8 +180,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 |