summaryrefslogtreecommitdiff
path: root/lisp/progmodes/elisp-mode.el
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2018-06-19 20:59:27 +0100
committerJoão Távora <joaotavora@gmail.com>2018-06-19 21:00:26 +0100
commit3a47f3921bdaaf7b7d80dc3be05a5f1b1f2501eb (patch)
tree3f12c8959f219f4a23fbeb917f782bbfe6f65e71 /lisp/progmodes/elisp-mode.el
parenta9b720ac5030a4ca84e8ebe8436027da0468624c (diff)
downloademacs-3a47f3921bdaaf7b7d80dc3be05a5f1b1f2501eb.tar.gz
Properly ignore stderr in elisp Flymake backend
Naively passing `null-device' as stderr creates a buffer named "/dev/null" instead. Pass a hidden buffer name instead. (Bug#31902). * lisp/progmodes/elisp-mode.el (elisp-flymake-byte-compile): Pass hidden buffer as make-process :stderr instead of null-device.
Diffstat (limited to 'lisp/progmodes/elisp-mode.el')
-rw-r--r--lisp/progmodes/elisp-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index d74c523c8c8..8eded03b9c4 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -1717,7 +1717,7 @@ current buffer state and calls REPORT-FN when done."
(format "byte-compile process %s died" proc))))
(ignore-errors (delete-file temp-file))
(kill-buffer output-buffer))))
- :stderr null-device
+ :stderr " *stderr of elisp-flymake-byte-compile*"
:noquery t)))))
(defun elisp-flymake--batch-compile-for-flymake (&optional file)