From d6bd8dca5d45ed3afdf1b172f1af559a85e7d750 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 3 Aug 1993 21:38:31 +0000 Subject: [PATCH] (compilation-minor-mode): Make variable buffer-local. (compilation-minor-mode): Autoload this function. --- lisp/progmodes/compile.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 867c06c600e..1eef0ed2605 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -391,6 +391,7 @@ Runs `compilation-mode-hook' with `run-hooks' (which see)." "Non-nil when in compilation-minor-mode. In this minor mode, all the error-parsing commands of the Compilation major mode are available.") +(make-variable-buffer-local 'compilation-minor-mode) (or (assq 'compilation-minor-mode minor-mode-alist) (setq minor-mode-alist (cons '(compilation-minor-mode " Compilation") @@ -400,6 +401,7 @@ Compilation major mode are available.") compilation-minor-mode-map) minor-mode-map-alist))) +;;;###autoload (defun compilation-minor-mode (&optional arg) "Toggle compilation minor mode. With arg, turn compilation mode on if and only if arg is positive.