projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
96b3e55
)
[emacs] properly silence the compilation-start advice warning
author
Amin Bandali
<bandali@gnu.org>
Sun, 23 Dec 2018 15:33:34 +0000
(10:33 -0500)
committer
Amin Bandali
<bandali@gnu.org>
Sun, 23 Dec 2018 15:33:34 +0000
(10:33 -0500)
init.org
patch
|
blob
|
blame
|
history
diff --git
a/init.org
b/init.org
index
6ac4ab3
..
3a170a3
100644
(file)
--- a/
init.org
+++ b/
init.org
@@
-659,8
+659,7
@@
Based on https://stackoverflow.com/a/17788551, with changes to use
=cl-letf= instead of the now obsolete =flet=.
#+begin_src emacs-lisp
=cl-letf= instead of the now obsolete =flet=.
#+begin_src emacs-lisp
-(use-package compile
- :config
+(with-eval-after-load 'compile
(defun amin--compilation-finish-function (buffer outstr)
(unless (string-match "finished" outstr)
(switch-to-buffer-other-window buffer))
(defun amin--compilation-finish-function (buffer outstr)
(unless (string-match "finished" outstr)
(switch-to-buffer-other-window buffer))