From: Eric S. Raymond Date: Thu, 11 Oct 2007 16:02:53 +0000 (+0000) Subject: Follow through on the VC terminology change (version -> revision). X-Git-Tag: emacs-pretest-23.0.90~10420 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0a0ca7f11fe17ee09259e07bed63e5c193997463;p=emacs.git Follow through on the VC terminology change (version -> revision). --- diff --git a/lisp/ediff-vers.el b/lisp/ediff-vers.el index 97232afce76..8480984b95c 100644 --- a/lisp/ediff-vers.el +++ b/lisp/ediff-vers.el @@ -84,12 +84,12 @@ comparison or merge operations are being performed." (setq rev1 (ediff-vc-latest-version (buffer-file-name)))) (save-window-excursion (save-excursion - (vc-version-other-window rev1) + (vc-revision-other-window rev1) (setq rev1buf (current-buffer) file1 (buffer-file-name))) (save-excursion (or (string= rev2 "") ; use current buffer - (vc-version-other-window rev2)) + (vc-revision-other-window rev2)) (setq rev2buf (current-buffer) file2 (buffer-file-name))) (setq startup-hooks @@ -191,17 +191,17 @@ comparison or merge operations are being performed." (let (buf1 buf2 ancestor-buf) (save-window-excursion (save-excursion - (vc-version-other-window rev1) + (vc-revision-other-window rev1) (setq buf1 (current-buffer))) (save-excursion (or (string= rev2 "") - (vc-version-other-window rev2)) + (vc-revision-other-window rev2)) (setq buf2 (current-buffer))) (if ancestor-rev (save-excursion (if (string= ancestor-rev "") (setq ancestor-rev (vc-working-revision buffer-file-name))) - (vc-version-other-window ancestor-rev) + (vc-revision-other-window ancestor-rev) (setq ancestor-buf (current-buffer)))) (setq startup-hooks (cons diff --git a/lisp/ldefs-boot.el b/lisp/ldefs-boot.el index 1bc969a4026..4a443629d38 100644 --- a/lisp/ldefs-boot.el +++ b/lisp/ldefs-boot.el @@ -29250,7 +29250,7 @@ If FILE-NAME is non-nil, save the result to FILE-NAME. ;;;### (autoloads (vc-annotate vc-update-change-log vc-rename-file ;;;;;; vc-transfer-file vc-switch-backend vc-rollback vc-update ;;;;;; vc-revert vc-print-log vc-retrieve-snapshot vc-create-snapshot -;;;;;; vc-directory vc-merge vc-insert-headers vc-version-other-window +;;;;;; vc-directory vc-merge vc-insert-headers vc-revision-other-window ;;;;;; vc-diff vc-register vc-next-action vc-do-command edit-vc-file ;;;;;; with-vc-file vc-branch-part vc-trunk-p vc-before-checkin-hook ;;;;;; vc-checkin-hook vc-checkout-hook) "vc" "vc.el" (18104 24741)) @@ -29384,7 +29384,7 @@ saving the buffer. \(fn HISTORIC &optional NOT-URGENT)" t nil) -(autoload (quote vc-version-other-window) "vc" "\ +(autoload (quote vc-revision-other-window) "vc" "\ Visit version REV of the current file in another window. If the current file is named `F', the version is named `F.~REV~'. If `F.~REV~' already exists, use it instead of checking it out again. diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el index 64ce29ddaf4..92c6c734483 100644 --- a/lisp/vc-hooks.el +++ b/lisp/vc-hooks.el @@ -925,7 +925,7 @@ Used in `find-file-not-found-functions'." (define-key map "v" 'vc-next-action) (define-key map "+" 'vc-update) (define-key map "=" 'vc-diff) - (define-key map "~" 'vc-version-other-window) + (define-key map "~" 'vc-revision-other-window) map)) (fset 'vc-prefix-map vc-prefix-map) (define-key global-map "\C-xv" 'vc-prefix-map) @@ -942,8 +942,8 @@ Used in `find-file-not-found-functions'." (define-key map [separator1] '("----")) (define-key map [vc-annotate] '("Annotate" . vc-annotate)) (define-key map [vc-rename-file] '("Rename File" . vc-rename-file)) - (define-key map [vc-version-other-window] - '("Show Other Version" . vc-version-other-window)) + (define-key map [vc-revision-other-window] + '("Show Other Version" . vc-revision-other-window)) (define-key map [vc-diff] '("Compare with Base Version" . vc-diff)) (define-key map [vc-update-change-log] '("Update ChangeLog" . vc-update-change-log)) @@ -985,7 +985,7 @@ Used in `find-file-not-found-functions'." ;;(put 'vc-rename-file 'menu-enable 'vc-mode) ;;(put 'vc-annotate 'menu-enable '(eq (vc-buffer-backend) 'CVS)) -;;(put 'vc-version-other-window 'menu-enable 'vc-mode) +;;(put 'vc-revision-other-window 'menu-enable 'vc-mode) ;;(put 'vc-diff 'menu-enable 'vc-mode) ;;(put 'vc-update-change-log 'menu-enable ;; '(member (vc-buffer-backend) '(RCS CVS)))