# HG changeset patch # User Roland McGrath # Date 744413911 0 # Node ID a1e41287373217021262f248d8067d2d8b1be917 # Parent 0a428f48e71a4e40f792118442328889121f0825 (compilation-minor-mode): Make variable buffer-local. (compilation-minor-mode): Autoload this function. diff -r 0a428f48e71a -r a1e412873732 lisp/progmodes/compile.el --- a/lisp/progmodes/compile.el Tue Aug 03 18:52:07 1993 +0000 +++ b/lisp/progmodes/compile.el Tue Aug 03 21:38:31 1993 +0000 @@ -391,6 +391,7 @@ "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-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.