summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2019-10-20 01:06:38 +0300
committerJuri Linkov <juri@linkov.net>2019-10-20 01:06:38 +0300
commit58d23f5f19b5b766fd70addcb36414a739a00e4a (patch)
tree57c6147638032e07fd852bcf8d1da7125bb7dd59 /lisp/subr.el
parent7e238e7d50872d43a137c1350cb3b293aea176c2 (diff)
downloademacs-58d23f5f19b5b766fd70addcb36414a739a00e4a.tar.gz
Use 'C-x t' for tab-prefix-map instead of 'C-x 6' still used by 2C-mode-map.
* doc/emacs/commands.texi (Keys): Add 'C-x t'. * doc/emacs/frames.texi (Tab Bars): Replace 'C-x 6' with 'C-x t'. * doc/lispref/keymaps.texi (Prefix Keys): Add 'C-x t' (tab-prefix-map). * doc/lispref/maps.texi (Standard Keymaps): Add tab-prefix-map, tab-bar-map. * lisp/dired.el: Rebind 'C-x 6 d' to 'C-x t d'. Use tab-prefix-map. * lisp/subr.el (ctl-x-6-map, ctl-x-6-prefix, ctl-x-t-prefix): Remove. (tab-prefix-map): New keymap bound to 'C-x t'. * lisp/tab-bar.el: Use tab-prefix-map instead of ctl-x-6-map. * lisp/textmodes/two-column.el: Restore autoload global setting of "\C-x6" to 2C-command. * lisp/ldefs-boot.el: Update to add setting "\C-x6" to 2C-command. * doc/emacs/commands.texi (Keys): * doc/emacs/text.texi (Two-Column): * doc/lispref/keymaps.texi (Prefix Keys): * doc/lispref/maps.texi (Standard Keymaps): Restore 'C-x 6' bound to '2C-mode-map'.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el9
1 files changed, 3 insertions, 6 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index f3371dd2d74..ada078aed9b 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1262,12 +1262,9 @@ The normal global definition of the character C-x indirects to this keymap.")
(defalias 'ctl-x-5-prefix ctl-x-5-map)
(define-key ctl-x-map "5" 'ctl-x-5-prefix)
-(defvar ctl-x-6-map (make-sparse-keymap)
- "Keymap for tab commands.")
-(defalias 'ctl-x-6-prefix ctl-x-6-map)
-(define-key ctl-x-map "6" 'ctl-x-6-prefix)
-(defalias 'ctl-x-t-prefix ctl-x-6-map)
-(define-key ctl-x-map "t" 'ctl-x-t-prefix)
+(defvar tab-prefix-map (make-sparse-keymap)
+ "Keymap for tab-bar related commands.")
+(define-key ctl-x-map "t" tab-prefix-map)
;;;; Event manipulation functions.