aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-08-08 18:30:47 +0000
committerGerd Moellmann2000-08-08 18:30:47 +0000
commit18aac618faea129e729838e837619f0f2f3d3530 (patch)
tree08665636c1a1b4becd914bf34a91851949da0220
parentd4021fd9f9d64d7dd9880178065678cee779e4ec (diff)
downloademacs-18aac618faea129e729838e837619f0f2f3d3530.tar.gz
emacs-18aac618faea129e729838e837619f0f2f3d3530.zip
(compilation-setup): Make variable
compilation-error-screen-columns buffer-local, as some comment in the code suggests it should be.
-rw-r--r--lisp/progmodes/compile.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 2fdd1adf5ec..0f192ee84e5 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -957,6 +957,7 @@ Runs `compilation-mode-hook' with `run-hooks' (which see)."
957 (set (make-local-variable 'compilation-parsing-end) (copy-marker 1)) 957 (set (make-local-variable 'compilation-parsing-end) (copy-marker 1))
958 (set (make-local-variable 'compilation-directory-stack) 958 (set (make-local-variable 'compilation-directory-stack)
959 (list default-directory)) 959 (list default-directory))
960 (make-local-variable 'compilation-error-screen-columns)
960 (setq compilation-last-buffer (current-buffer))) 961 (setq compilation-last-buffer (current-buffer)))
961 962
962(defvar compilation-shell-minor-mode nil 963(defvar compilation-shell-minor-mode nil