summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/fmt/fmt.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/fmt/fmt.el b/lisp/fmt/fmt.el
index 5ac97e3..5d837f4 100644
--- a/lisp/fmt/fmt.el
+++ b/lisp/fmt/fmt.el
@@ -37,7 +37,7 @@
:type '(string)
:group 'fmt)
-(defcustom fmt-stderr-buffer "*fmt stderr*"
+(defcustom fmt-stderr-file "/dev/null"
"Buffer to send fmt-executable stderr to."
:type '(string)
:group 'fmt)
@@ -52,7 +52,7 @@
(defun fmt-buffer ()
(run-hooks 'fmt-before-format-hook)
(let ((exit-status (apply 'call-process-region `(,(point-min) ,(point-max) ,fmt-executable
- nil ,(list fmt-stdout-buffer fmt-stderr-buffer)
+ nil ,(list fmt-stdout-buffer fmt-stderr-file)
nil ,@fmt-args))))
(if (zerop exit-status)
(replace-buffer-contents fmt-stdout-buffer)