From: João Távora Date: Tue, 19 Jun 2018 19:59:27 +0000 (+0100) Subject: Properly ignore stderr in elisp Flymake backend X-Git-Tag: emacs-27.0.90~4788 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3a47f3921bdaaf7b7d80dc3be05a5f1b1f2501eb;p=emacs.git 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. --- 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)