summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-12-23 10:33:34 -0500
committerAmin Bandali <bandali@gnu.org>2018-12-23 10:33:34 -0500
commitf1516d514c999d36839ff7f6e70f63a7d4c43390 (patch)
treeaec8c22f3cd6e63bf8c7ab289f31f5f96734cd3e
parent96b3e55dd80dd797361457af9c623072a9374715 (diff)
downloadconfigs-f1516d514c999d36839ff7f6e70f63a7d4c43390.tar.gz
configs-f1516d514c999d36839ff7f6e70f63a7d4c43390.tar.xz
configs-f1516d514c999d36839ff7f6e70f63a7d4c43390.zip
[emacs] properly silence the compilation-start advice warning
-rw-r--r--init.org3
1 files changed, 1 insertions, 2 deletions
diff --git a/init.org b/init.org
index 6ac4ab3..3a170a3 100644
--- 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
-(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))