Emacs: Hide compilation window more consistently
This commit is contained in:
parent
161924268f
commit
afba3f97ae
1 changed files with 3 additions and 2 deletions
|
@ -44,8 +44,9 @@
|
|||
;; there were errors
|
||||
(message "compilation errors, press C-x ` to visit")
|
||||
;; no errors, make the compilation window go away in 0.5 seconds
|
||||
(when (member (buffer-name) '("*Compilation*" "*compilation*"))
|
||||
(run-at-time 0.5 nil 'delete-windows-on buf)
|
||||
(message "No compilation errors!")))
|
||||
(message "No compilation errors!"))))
|
||||
|
||||
(defun ext:reload-buffer ()
|
||||
"Reload current buffer."
|
||||
|
|
Loading…
Reference in a new issue