diff options
| author | Dan Nicolaescu <dann@ics.uci.edu> | 2008-06-23 07:03:33 +0000 |
|---|---|---|
| committer | Dan Nicolaescu <dann@ics.uci.edu> | 2008-06-23 07:03:33 +0000 |
| commit | ffbda93a863b687a419b1c6453deae23e8be4829 (patch) | |
| tree | 1c784451a37d6c9bf90e20686acee593b12dd666 /lisp/vc-annotate.el | |
| parent | b7bc82c54698d19003ee121456569dd654d11d86 (diff) | |
| download | emacs-ffbda93a863b687a419b1c6453deae23e8be4829.tar.gz | |
(vc-annotate-mode): Derive from special-mode
instead of using view-mode.
Diffstat (limited to 'lisp/vc-annotate.el')
| -rw-r--r-- | lisp/vc-annotate.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/vc-annotate.el b/lisp/vc-annotate.el index fbc1ba1247d..eadce2db957 100644 --- a/lisp/vc-annotate.el +++ b/lisp/vc-annotate.el @@ -149,7 +149,7 @@ List of factors, used to expand/compress the time scale. See `vc-annotate'." ;; The fontification is done by vc-annotate-lines instead of font-lock. '((vc-annotate-lines))) -(define-derived-mode vc-annotate-mode fundamental-mode "Annotate" +(define-derived-mode vc-annotate-mode special-mode "Annotate" "Major mode for output buffers of the `vc-annotate' command. You can use the mode-specific menu to alter the time-span of the used @@ -161,8 +161,7 @@ menu items." (remove-from-invisibility-spec 'foo) (set (make-local-variable 'truncate-lines) t) (set (make-local-variable 'font-lock-defaults) - '(vc-annotate-font-lock-keywords t)) - (view-mode 1)) + '(vc-annotate-font-lock-keywords t))) (defun vc-annotate-toggle-annotation-visibility () "Toggle whether or not the annotation is visible." |
