Mercurial > emacs
changeset 4445:a1e412873732
(compilation-minor-mode): Make variable buffer-local.
(compilation-minor-mode): Autoload this function.
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Tue, 03 Aug 1993 21:38:31 +0000 |
parents | 0a428f48e71a |
children | ff1f9d7addd9 |
files | lisp/progmodes/compile.el |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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.