summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))