[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/vc-hooks.el,v
From: |
Sam Steingold |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/vc-hooks.el,v |
Date: |
Wed, 06 Feb 2008 17:52:37 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Sam Steingold <sds> 08/02/06 17:52:36
Index: vc-hooks.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/vc-hooks.el,v
retrieving revision 1.220
retrieving revision 1.221
diff -u -b -r1.220 -r1.221
--- vc-hooks.el 8 Jan 2008 20:44:35 -0000 1.220
+++ vc-hooks.el 6 Feb 2008 17:52:34 -0000 1.221
@@ -968,9 +968,17 @@
(define-key map "+" 'vc-update)
(define-key map "=" 'vc-diff)
(define-key map "~" 'vc-revision-other-window)
+ (define-key map "?" 'vc-status)
map))
(fset 'vc-prefix-map vc-prefix-map)
-(define-key global-map "\C-xv" 'vc-prefix-map)
+(defcustom vc-prefix-key "\C-xv" "*The prefix for the VC bindings."
+ :set (lambda (symbol prefix) ; symbol == vc-prefix-key
+ (define-key global-map prefix 'vc-prefix-map) ; install new prefix
+ (when (boundp 'vc-prefix-key) ; disable the previous prefix
+ (define-key global-map vc-prefix-key nil))
+ (set symbol prefix)) ; save the new prefix
+ :version "23.1"
+ :group 'vc)
(defvar vc-menu-map
(let ((map (make-sparse-keymap "Version Control")))
@@ -981,6 +989,7 @@
(define-key map [vc-create-snapshot]
'("Create Snapshot" . vc-create-snapshot))
(define-key map [vc-directory] '("VC Directory Listing" . vc-directory))
+ (define-key map [vc-status] '("VC Status" . vc-status))
(define-key map [separator1] '("----"))
(define-key map [vc-annotate] '("Annotate" . vc-annotate))
(define-key map [vc-rename-file] '("Rename File" . vc-rename-file))
- [Emacs-diffs] Changes to emacs/lisp/vc-hooks.el,v,
Sam Steingold <=
- [Emacs-diffs] Changes to emacs/lisp/vc-hooks.el,v, Sam Steingold, 2008/02/06
- [Emacs-diffs] Changes to emacs/lisp/vc-hooks.el,v, Sam Steingold, 2008/02/10
- [Emacs-diffs] Changes to emacs/lisp/vc-hooks.el,v, Dan Nicolaescu, 2008/02/15
- [Emacs-diffs] Changes to emacs/lisp/vc-hooks.el,v, Miles Bader, 2008/02/24
- [Emacs-diffs] Changes to emacs/lisp/vc-hooks.el,v, Dan Nicolaescu, 2008/02/29