Mercurial > emacs
changeset 94699:7e7ef774315b
Cleanup preparatory to getting rid of dired.
author | Eric S. Raymond <esr@snark.thyrsus.com> |
---|---|
date | Tue, 06 May 2008 23:56:49 +0000 |
parents | 8983ac9b89b4 |
children | d45699617202 |
files | lisp/vc-dispatcher.el lisp/vc-hooks.el lisp/vc.el |
diffstat | 3 files changed, 3 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/vc-dispatcher.el Tue May 06 23:44:50 2008 +0000 +++ b/lisp/vc-dispatcher.el Tue May 06 23:56:49 2008 +0000 @@ -1712,7 +1712,7 @@ (dolist (file files) (let ((visited (get-file-buffer file))) (when visited - (if (or vc-dired-mode (eq major-mode 'vc-dir-mode)) + (if (vc-dispatcher-browsing) (switch-to-buffer-other-window visited) (set-buffer visited)) ;; Check relation of buffer and file, and make sure
--- a/lisp/vc-hooks.el Tue May 06 23:44:50 2008 +0000 +++ b/lisp/vc-hooks.el Tue May 06 23:56:49 2008 +0000 @@ -771,7 +771,7 @@ (vc-mode-line file) (when (featurep 'vc) ;; If VC is not loaded, then there can't be - ;; any VC Dired buffer to synchronize. + ;; any directory buffer to synchronize. (vc-directory-resynch-file file))))) (defvar vc-menu-entry
--- a/lisp/vc.el Tue May 06 23:44:50 2008 +0000 +++ b/lisp/vc.el Tue May 06 23:56:49 2008 +0000 @@ -45,15 +45,6 @@ ;; with modern version-control systems that do commits by fileset ;; rather than per individual file. ;; -;; Features in the new version: -;; * Key commands (vc-next-action = C-x v v, vc-print-log = C-x v l, vc-revert -;; = C-x v u, vc-rollback = C-x v c, vc-diff = C-x v =, vc-update = C-x v +) -;; now operate on filesets rather than individual files. -;; * The fileset for a command is either (a) all marked files in VC-dired -;; mode, (b) the currently visited file if it's under version control, -;; or (c) the current directory if the visited buffer is not under -;; version control and a wildcarding-enable flag has been set. -;; ;; If you maintain a client of the mode or customize it in your .emacs, ;; note that some backend functions which formerly took single file arguments ;; now take a list of files. These include: register, checkin, print-log, @@ -184,10 +175,6 @@ ;; To provide more backend specific functionality for `vc-dir' ;; the following functions might be needed: `status-extra-headers', ;; `status-printer', `extra-status-menu' and `dir-status-files'. -;; This function is used by `vc-dir', a replacement for -;; `vc-dired'. vc-dir is still under development, and is NOT -;; feature complete. As such, the requirements for this function -;; might change. This is a replacement for `dir-state'. ;; ;; - dir-status-files (dir files default-state update-function) ;; @@ -2747,7 +2734,7 @@ ((eq state 'needs-update) "(update)") ((eq state 'added) "(added)") ((eq state 'removed) "(removed)") - ((eq state 'ignored) "(ignored)") ;; dired-hook filters this out + ((eq state 'ignored) "(ignored)") ((eq state 'unregistered) "?") ((eq state 'unlocked-changes) "(stale)") ((not state) "(unknown)")))