From 76dc97b80031d0f06d61402671dd2540c5446bbd Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Tue, 1 Jul 2008 14:58:28 +0000 Subject: [PATCH] (uniquify-list-buffers-directory-modes): Add vc-dir-mode. --- lisp/ChangeLog | 4 +++- lisp/uniquify.el | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e51c5bf71cf..3bc3dddef29 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,6 +1,8 @@ 2008-07-01 Dan Nicolaescu - * vc-annotate.el (vc-annotate-mode-map): Bind to lower case keys. + * uniquify.el (uniquify-list-buffers-directory-modes): Add vc-dir-mode. + + * vc-annotate.el (vc-annotate-mode-map): Use lower case keys. Add binding for vc-annotate-show-changeset-diff-revision-at-line. * vc-dir.el (vc-dir-mode): Set list-buffers-function. diff --git a/lisp/uniquify.el b/lisp/uniquify.el index ca8e4bb4638..7acd6506426 100644 --- a/lisp/uniquify.el +++ b/lisp/uniquify.el @@ -166,7 +166,7 @@ This can be handy when you have deep parallel hierarchies." :type 'boolean :group 'uniquify) -(defvar uniquify-list-buffers-directory-modes '(dired-mode cvs-mode) +(defvar uniquify-list-buffers-directory-modes '(dired-mode cvs-mode vc-dir-mode) "List of modes for which uniquify should obey `list-buffers-directory'. That means that when `buffer-file-name' is set to nil, `list-buffers-directory' contains the name of the directory which the buffer is visiting.") -- 2.39.2