]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert VC-related prefix user options to previous values
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 18 Nov 2021 11:11:35 +0000 (12:11 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 18 Nov 2021 11:11:35 +0000 (12:11 +0100)
* lisp/vc/smerge-mode.el (smerge-command-prefix):
* lisp/vc/pcvs.el (cvs-minor-mode-prefix):
* lisp/vc/diff-mode.el (diff-minor-mode-prefix): Revert to
previous values, as external packages rely on those values.

lisp/vc/diff-mode.el
lisp/vc/pcvs.el
lisp/vc/smerge-mode.el

index 87d30666da0a5d527df99229900ac4cb399b4f48..1cffd88a56f9763f05117d39617b338fc3650fe1 100644 (file)
@@ -264,15 +264,14 @@ and hunk-based syntax highlighting otherwise as a fallback."
      :help "Go to the next count'th file"]
     ))
 
-(defcustom diff-minor-mode-prefix "C-c ="
+(defcustom diff-minor-mode-prefix "\C-c =="
   "Prefix key for `diff-minor-mode' commands."
   :type '(choice (string "ESC")
-                 (string "C-c =") string)
-  :version "29.1")
+                 (string "\C-c=") string))
 
 (defvar-keymap diff-minor-mode-map
   :doc "Keymap for `diff-minor-mode'.  See also `diff-mode-shared-map'."
-  diff-minor-mode-prefix diff-mode-shared-map)
+  (key-description diff-minor-mode-prefix) diff-mode-shared-map)
 
 (define-minor-mode diff-auto-refine-mode
   "Toggle automatic diff hunk finer highlighting (Diff Auto Refine mode).
index fa28d074a98f7e2892e54ead2b554fca6b2891bf..2d7b8cb2ef7d96c8f97cd3687e4004a0d8d1e85e 100644 (file)
 ;;;; CVS-Minor mode
 ;;;;
 
-(defcustom cvs-minor-mode-prefix "C-x c"
+(defcustom cvs-minor-mode-prefix "\C-xc"
   "Prefix key for the `cvs-mode' bindings in `cvs-minor-mode'."
   :type 'string
-  :version "29.1"
-  :group 'pcl-cvs)
+   :group 'pcl-cvs)
 
 (defvar-keymap cvs-minor-mode-map
-  cvs-minor-mode-prefix 'cvs-mode-map
+  (key-description cvs-minor-mode-prefix) 'cvs-mode-map
   "e" '(menu-item nil cvs-mode-edit-log
                  :filter (lambda (x)
                             (and (derived-mode-p 'log-view-mode) x))))
index ee6ddf15881f611c60c319ca230608c947880f71..6c1b8cc95b345fa40b1d4f68ba669d5436a04011 100644 (file)
@@ -162,16 +162,15 @@ Used in `smerge-diff-base-upper' and related functions."
         ">" (cons "base-lower" #'smerge-diff-base-lower)
         "=" (cons "upper-lower" #'smerge-diff-upper-lower)))
 
-(defcustom smerge-command-prefix "C-c ^"
+(defcustom smerge-command-prefix "\C-c^"
   "Prefix for `smerge-mode' commands."
-  :version "29.1"
   :type '(choice (const :tag "ESC"   "\e")
-                (const :tag "C-c ^" "C-c ^")
+                (const :tag "C-c ^" "\C-c^")
                 (const :tag "none"  "")
                 string))
 
 (defvar-keymap smerge-mode-map
-  smerge-command-prefix smerge-basic-map)
+  (key-description smerge-command-prefix) smerge-basic-map)
 
 (defvar-local smerge-check-cache nil)
 (defun smerge-check (n)