diff options
| author | Richard M. Stallman | 2002-07-29 02:40:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-07-29 02:40:40 +0000 |
| commit | 9bd06e95d6a17e10a80656b446ad5522870b121f (patch) | |
| tree | 62833a307aff2d06c5eaec903048fd99dd1b5e84 | |
| parent | c82fbd0cfa1208a1d10eee8cc5fd6bfdcb4a0e96 (diff) | |
| download | emacs-9bd06e95d6a17e10a80656b446ad5522870b121f.tar.gz emacs-9bd06e95d6a17e10a80656b446ad5522870b121f.zip | |
Don't add to minor-mode-alist.
| -rw-r--r-- | lisp/vc-hooks.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el index c90356a9c1a..1052892666c 100644 --- a/lisp/vc-hooks.el +++ b/lisp/vc-hooks.el | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | ;; Author: FSF (see vc.el for full credits) | 5 | ;; Author: FSF (see vc.el for full credits) |
| 6 | ;; Maintainer: Andre Spiegel <spiegel@gnu.org> | 6 | ;; Maintainer: Andre Spiegel <spiegel@gnu.org> |
| 7 | 7 | ||
| 8 | ;; $Id: vc-hooks.el,v 1.140 2002/07/16 17:42:57 spiegel Exp $ | 8 | ;; $Id: vc-hooks.el,v 1.141 2002/07/19 13:26:11 spiegel Exp $ |
| 9 | 9 | ||
| 10 | ;; This file is part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| 11 | 11 | ||
| @@ -114,8 +114,9 @@ See also variable `vc-consult-headers'." | |||
| 114 | (funcall vc-mistrust-permissions | 114 | (funcall vc-mistrust-permissions |
| 115 | (vc-backend-subdirectory-name file))))) | 115 | (vc-backend-subdirectory-name file))))) |
| 116 | 116 | ||
| 117 | ;;; This is handled specially now. | ||
| 117 | ;; Tell Emacs about this new kind of minor mode | 118 | ;; Tell Emacs about this new kind of minor mode |
| 118 | (add-to-list 'minor-mode-alist '(vc-mode vc-mode)) | 119 | ;; (add-to-list 'minor-mode-alist '(vc-mode vc-mode)) |
| 119 | 120 | ||
| 120 | (make-variable-buffer-local 'vc-mode) | 121 | (make-variable-buffer-local 'vc-mode) |
| 121 | (put 'vc-mode 'permanent-local t) | 122 | (put 'vc-mode 'permanent-local t) |