emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 3a47f39: Properly ignore stderr in elisp Flymake ba


From: João Távora
Subject: [Emacs-diffs] master 3a47f39: Properly ignore stderr in elisp Flymake backend
Date: Tue, 19 Jun 2018 16:01:32 -0400 (EDT)

branch: master
commit 3a47f3921bdaaf7b7d80dc3be05a5f1b1f2501eb
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    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.
---
 lisp/progmodes/elisp-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index d74c523..8eded03 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]