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." | |||
| 181 | ;; We should perhaps go via a temporary buffer and copy it | 181 | ;; We should perhaps go via a temporary buffer and copy it |
| 182 | ;; back, in case of errors. | 182 | ;; back, in case of errors. |
| 183 | (if (and (zerop (save-window-excursion | 183 | (if (and (zerop (save-window-excursion |
| 184 | (shell-command-on-region (point-min) (point-max) | 184 | (shell-command-on-region from to method t t |
| 185 | method t t | ||
| 186 | error-buff))) | 185 | error-buff))) |
| 187 | ;; gzip gives zero exit status with bad args, for instance. | 186 | ;; gzip gives zero exit status with bad args, for instance. |
| 188 | (zerop (with-current-buffer error-buff | 187 | (zerop (with-current-buffer error-buff |