Commit 3827b532 authored by Masatake YAMATO's avatar Masatake YAMATO
Browse files

* vc.el (vc-dired-mode): Show backend name as part of mode name.

parent efc64f82
2007-06-15 Masatake YAMATO <jet@gyve.org>
* vc.el (vc-dired-mode): Show backend name as part of mode name.
2007-06-14 Chong Yidong <cyd@stupidchicken.com>
* wid-edit.el (widget-default-create): Move ?h handling here...
......
......@@ -2096,7 +2096,7 @@ See Info node `Merging'."
(define-key vmap "t" 'vc-dired-toggle-terse-mode)
map))
(define-derived-mode vc-dired-mode dired-mode "Dired under VC"
(define-derived-mode vc-dired-mode dired-mode "Dired under "
"The major mode used in VC directory buffers.
It works like Dired, but lists only files under version control, with
......@@ -2156,6 +2156,8 @@ There is a special command, `*l', to mark all files currently locked."
(set (make-local-variable 'dired-actual-switches)
vc-dired-switches))
(set (make-local-variable 'vc-dired-terse-mode) vc-dired-terse-display)
(setq mode-name (concat mode-name (symbol-name (vc-responsible-backend
default-directory))))
(setq vc-dired-mode t))
(defun vc-dired-toggle-terse-mode ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment