emacs-diffs
[Top][All Lists]
Advanced

[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: Mon, 11 Feb 2008 00:54:38 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Sam Steingold <sds>     08/02/11 00:54:37

Index: vc-hooks.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/vc-hooks.el,v
retrieving revision 1.222
retrieving revision 1.223
diff -u -b -r1.222 -r1.223
--- vc-hooks.el 6 Feb 2008 19:06:34 -0000       1.222
+++ vc-hooks.el 11 Feb 2008 00:54:35 -0000      1.223
@@ -972,14 +972,7 @@
     ;; (define-key map "?" 'vc-status)
     map))
 (fset 'vc-prefix-map 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)
+(define-key global-map "\C-xv" 'vc-prefix-map)
 
 (defvar vc-menu-map
   (let ((map (make-sparse-keymap "Version Control")))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]