summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-06-14 23:08:53 -0400
committerKyle Meyer <kyle@kyleam.com>2014-06-14 23:08:53 -0400
commit863552cdd9aadebd89ed9334a31daa54092d8068 (patch)
tree81a99fb2752e68a033e68df5c18f21bc0a597b94
parentb5912e0ac5f2b041c4f798f1596c846146927566 (diff)
downloademacs.d-863552cdd9aadebd89ed9334a31daa54092d8068.tar.gz
Give advice to recompile a better name
-rw-r--r--lisp/init-external.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/init-external.el b/lisp/init-external.el
index bfdd5b3..115c060 100644
--- a/lisp/init-external.el
+++ b/lisp/init-external.el
@@ -48,7 +48,7 @@ is non-nil."
;;; Compilation
-(defadvice recompile (around restore-windows activate)
+(defadvice recompile (around prevent-window-on-compilation activate)
"Prevent recompiling from spawning new windows."
(save-window-excursion
ad-do-it))