aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond2008-05-06 23:56:49 +0000
committerEric S. Raymond2008-05-06 23:56:49 +0000
commite6244c1bcd3d81b1512fc542fd3d947ca0333ab7 (patch)
tree2413ae1d7b4e633e51492ef396a838e125bd9372
parent9852a51d14ed3c0eb93537a7abe4e59fb9e35bb3 (diff)
downloademacs-e6244c1bcd3d81b1512fc542fd3d947ca0333ab7.tar.gz
emacs-e6244c1bcd3d81b1512fc542fd3d947ca0333ab7.zip
Cleanup preparatory to getting rid of dired.
-rw-r--r--lisp/vc-dispatcher.el2
-rw-r--r--lisp/vc-hooks.el2
-rw-r--r--lisp/vc.el15
3 files changed, 3 insertions, 16 deletions
diff --git a/lisp/vc-dispatcher.el b/lisp/vc-dispatcher.el
index 3bfa65f915b..11f9c137084 100644
--- a/lisp/vc-dispatcher.el
+++ b/lisp/vc-dispatcher.el
@@ -1712,7 +1712,7 @@ Otherwise, throw an error."
1712 (dolist (file files) 1712 (dolist (file files)
1713 (let ((visited (get-file-buffer file))) 1713 (let ((visited (get-file-buffer file)))
1714 (when visited 1714 (when visited
1715 (if (or vc-dired-mode (eq major-mode 'vc-dir-mode)) 1715 (if (vc-dispatcher-browsing)
1716 (switch-to-buffer-other-window visited) 1716 (switch-to-buffer-other-window visited)
1717 (set-buffer visited)) 1717 (set-buffer visited))
1718 ;; Check relation of buffer and file, and make sure 1718 ;; Check relation of buffer and file, and make sure
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el
index 971c92ef775..22873993da9 100644
--- a/lisp/vc-hooks.el
+++ b/lisp/vc-hooks.el
@@ -771,7 +771,7 @@ Before doing that, check if there are any old backups and get rid of them."
771 (vc-mode-line file) 771 (vc-mode-line file)
772 (when (featurep 'vc) 772 (when (featurep 'vc)
773 ;; If VC is not loaded, then there can't be 773 ;; If VC is not loaded, then there can't be
774 ;; any VC Dired buffer to synchronize. 774 ;; any directory buffer to synchronize.
775 (vc-directory-resynch-file file))))) 775 (vc-directory-resynch-file file)))))
776 776
777(defvar vc-menu-entry 777(defvar vc-menu-entry
diff --git a/lisp/vc.el b/lisp/vc.el
index 3eeeb6dfad4..06b83ef33b8 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -45,15 +45,6 @@
45;; with modern version-control systems that do commits by fileset 45;; with modern version-control systems that do commits by fileset
46;; rather than per individual file. 46;; rather than per individual file.
47;; 47;;
48;; Features in the new version:
49;; * Key commands (vc-next-action = C-x v v, vc-print-log = C-x v l, vc-revert
50;; = C-x v u, vc-rollback = C-x v c, vc-diff = C-x v =, vc-update = C-x v +)
51;; now operate on filesets rather than individual files.
52;; * The fileset for a command is either (a) all marked files in VC-dired
53;; mode, (b) the currently visited file if it's under version control,
54;; or (c) the current directory if the visited buffer is not under
55;; version control and a wildcarding-enable flag has been set.
56;;
57;; If you maintain a client of the mode or customize it in your .emacs, 48;; If you maintain a client of the mode or customize it in your .emacs,
58;; note that some backend functions which formerly took single file arguments 49;; note that some backend functions which formerly took single file arguments
59;; now take a list of files. These include: register, checkin, print-log, 50;; now take a list of files. These include: register, checkin, print-log,
@@ -184,10 +175,6 @@
184;; To provide more backend specific functionality for `vc-dir' 175;; To provide more backend specific functionality for `vc-dir'
185;; the following functions might be needed: `status-extra-headers', 176;; the following functions might be needed: `status-extra-headers',
186;; `status-printer', `extra-status-menu' and `dir-status-files'. 177;; `status-printer', `extra-status-menu' and `dir-status-files'.
187;; This function is used by `vc-dir', a replacement for
188;; `vc-dired'. vc-dir is still under development, and is NOT
189;; feature complete. As such, the requirements for this function
190;; might change. This is a replacement for `dir-state'.
191;; 178;;
192;; - dir-status-files (dir files default-state update-function) 179;; - dir-status-files (dir files default-state update-function)
193;; 180;;
@@ -2747,7 +2734,7 @@ to provide the `find-revision' operation instead."
2747 ((eq state 'needs-update) "(update)") 2734 ((eq state 'needs-update) "(update)")
2748 ((eq state 'added) "(added)") 2735 ((eq state 'added) "(added)")
2749 ((eq state 'removed) "(removed)") 2736 ((eq state 'removed) "(removed)")
2750 ((eq state 'ignored) "(ignored)") ;; dired-hook filters this out 2737 ((eq state 'ignored) "(ignored)")
2751 ((eq state 'unregistered) "?") 2738 ((eq state 'unregistered) "?")
2752 ((eq state 'unlocked-changes) "(stale)") 2739 ((eq state 'unlocked-changes) "(stale)")
2753 ((not state) "(unknown)"))) 2740 ((not state) "(unknown)")))