aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/compile.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index ef86ac15917..2fdd1adf5ec 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -787,10 +787,9 @@ Returns the compilation buffer created."
787 error-regexp-alist name-function 787 error-regexp-alist name-function
788 enter-regexp-alist leave-regexp-alist 788 enter-regexp-alist leave-regexp-alist
789 file-regexp-alist nomessage-regexp-alist)) 789 file-regexp-alist nomessage-regexp-alist))
790 (make-local-variable 'lazy-lock-defer-on-scrolling)
791 ;; This proves a good idea if the buffer's going to scroll 790 ;; This proves a good idea if the buffer's going to scroll
792 ;; with lazy-lock on. 791 ;; with lazy-lock on.
793 (setq lazy-lock-defer-on-scrolling t) 792 (set (make-local-variable 'lazy-lock-defer-on-scrolling) t)
794 (setq default-directory thisdir 793 (setq default-directory thisdir
795 compilation-directory-stack (list default-directory)) 794 compilation-directory-stack (list default-directory))
796 (set-window-start outwin (point-min)) 795 (set-window-start outwin (point-min))