aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2019-10-20 01:06:38 +0300
committerJuri Linkov2019-10-20 01:06:38 +0300
commit58d23f5f19b5b766fd70addcb36414a739a00e4a (patch)
tree57c6147638032e07fd852bcf8d1da7125bb7dd59
parent7e238e7d50872d43a137c1350cb3b293aea176c2 (diff)
downloademacs-58d23f5f19b5b766fd70addcb36414a739a00e4a.tar.gz
emacs-58d23f5f19b5b766fd70addcb36414a739a00e4a.zip
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'.
-rw-r--r--doc/emacs/commands.texi15
-rw-r--r--doc/emacs/frames.texi32
-rw-r--r--doc/emacs/text.texi41
-rw-r--r--doc/lispref/keymaps.texi10
-rw-r--r--doc/lispref/maps.texi13
-rw-r--r--etc/NEWS11
-rw-r--r--lisp/dired.el2
-rw-r--r--lisp/ldefs-boot.el1
-rw-r--r--lisp/subr.el9
-rw-r--r--lisp/tab-bar.el16
-rw-r--r--lisp/textmodes/two-column.el4
11 files changed, 82 insertions, 72 deletions
diff --git a/doc/emacs/commands.texi b/doc/emacs/commands.texi
index 17e0d20f358..5eb3b304175 100644
--- a/doc/emacs/commands.texi
+++ b/doc/emacs/commands.texi
@@ -117,13 +117,14 @@ C-k} is two key sequences, not one.
117 117
118 By default, the prefix keys in Emacs are @kbd{C-c}, @kbd{C-h}, 118 By default, the prefix keys in Emacs are @kbd{C-c}, @kbd{C-h},
119@kbd{C-x}, @kbd{C-x @key{RET}}, @kbd{C-x @@}, @kbd{C-x a}, @kbd{C-x 119@kbd{C-x}, @kbd{C-x @key{RET}}, @kbd{C-x @@}, @kbd{C-x a}, @kbd{C-x
120n}, @kbd{C-x r}, @kbd{C-x v}, @kbd{C-x 4}, @kbd{C-x 5}, @kbd{C-x 6}, 120n}, @kbd{C-x r}, @kbd{C-x t}, @kbd{C-x v}, @kbd{C-x 4}, @kbd{C-x 5},
121@key{ESC}, @kbd{M-g}, @kbd{M-o} and @key{F2}. (@key{F1} is an alias 121@kbd{C-x 6}, @key{ESC}, @kbd{M-g}, and @kbd{M-o}. (@key{F1} and
122for @kbd{C-h}.) This list is not cast in stone; if you customize 122@key{F2} are aliases for @kbd{C-h} and @kbd{C-x 6}.) This list is not
123Emacs, you can make new prefix keys. You could even eliminate some of 123cast in stone; if you customize Emacs, you can make new prefix keys.
124the standard ones, though this is not recommended for most users; for 124You could even eliminate some of the standard ones, though this is not
125example, if you remove the prefix definition of @kbd{C-x 4}, then 125recommended for most users; for example, if you remove the prefix
126@kbd{C-x 4 C-f} becomes an invalid key sequence. @xref{Key Bindings}. 126definition of @kbd{C-x 4}, then @kbd{C-x 4 C-f} becomes an invalid key
127sequence. @xref{Key Bindings}.
127 128
128 Typing the help character (@kbd{C-h} or @key{F1}) after a prefix key 129 Typing the help character (@kbd{C-h} or @key{F1}) after a prefix key
129displays a list of the commands starting with that prefix. The sole 130displays a list of the commands starting with that prefix. The sole
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index 452c167c726..cac1f7fea6d 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -1257,32 +1257,32 @@ use persistent named window configurations without using the tab bar
1257by typing the related commands: @kbd{M-x tab-new}, @kbd{M-x tab-next}, 1257by typing the related commands: @kbd{M-x tab-new}, @kbd{M-x tab-next},
1258@kbd{M-x tab-list}, @kbd{M-x tab-close}, etc. 1258@kbd{M-x tab-list}, @kbd{M-x tab-close}, etc.
1259 1259
1260@kindex C-x 6 1260@kindex C-x t
1261 The prefix key @kbd{C-x 6} is analogous to @kbd{C-x 5}. 1261 The prefix key @kbd{C-x t} is analogous to @kbd{C-x 5}.
1262Whereas each @kbd{C-x 5} command pops up a buffer in a different frame 1262Whereas each @kbd{C-x 5} command pops up a buffer in a different frame
1263(@pxref{Creating Frames}), the @kbd{C-x 6} commands use a different 1263(@pxref{Creating Frames}), the @kbd{C-x t} commands use a different
1264tab with a different window configuration in the selected frame. 1264tab with a different window configuration in the selected frame.
1265 1265
1266 The various @kbd{C-x 6} commands differ in how they find or create the 1266 The various @kbd{C-x t} commands differ in how they find or create the
1267buffer to select: 1267buffer to select:
1268 1268
1269@table @kbd 1269@table @kbd
1270@item C-x 6 2 1270@item C-x t 2
1271@kindex C-x 6 2 1271@kindex C-x t 2
1272@findex tab-new 1272@findex tab-new
1273Add a new tab (@code{tab-new}). You can control the choice of the 1273Add a new tab (@code{tab-new}). You can control the choice of the
1274buffer displayed in a new tab by customizing the variable 1274buffer displayed in a new tab by customizing the variable
1275@code{tab-bar-new-tab-choice}. 1275@code{tab-bar-new-tab-choice}.
1276@item C-x 6 b @var{bufname} @key{RET} 1276@item C-x t b @var{bufname} @key{RET}
1277Select buffer @var{bufname} in another tab. This runs 1277Select buffer @var{bufname} in another tab. This runs
1278@code{switch-to-buffer-other-tab}. 1278@code{switch-to-buffer-other-tab}.
1279@item C-x 6 f @var{filename} @key{RET} 1279@item C-x t f @var{filename} @key{RET}
1280Visit file @var{filename} and select its buffer in another tab. This 1280Visit file @var{filename} and select its buffer in another tab. This
1281runs @code{find-file-other-tab}. @xref{Visiting}. 1281runs @code{find-file-other-tab}. @xref{Visiting}.
1282@item C-x 6 d @var{directory} @key{RET} 1282@item C-x t d @var{directory} @key{RET}
1283Select a Dired buffer for directory @var{directory} in another tab. 1283Select a Dired buffer for directory @var{directory} in another tab.
1284This runs @code{dired-other-tab}. @xref{Dired}. 1284This runs @code{dired-other-tab}. @xref{Dired}.
1285@item C-x 6 r @var{tabname} @key{RET} 1285@item C-x t r @var{tabname} @key{RET}
1286Renames the current tab to @var{tabname}. You can control the 1286Renames the current tab to @var{tabname}. You can control the
1287programmatic name given to a tab by default by customizing the 1287programmatic name given to a tab by default by customizing the
1288variable @code{tab-bar-tab-name-function}. 1288variable @code{tab-bar-tab-name-function}.
@@ -1297,14 +1297,14 @@ new tab with other buffers, customize the variable
1297 The following commands are used to delete and operate on tabs: 1297 The following commands are used to delete and operate on tabs:
1298 1298
1299@table @kbd 1299@table @kbd
1300@item C-x 6 0 1300@item C-x t 0
1301@kindex C-x 6 0 1301@kindex C-x t 0
1302@findex tab-close 1302@findex tab-close
1303Close the selected tab (@code{tab-close}). It has no effect if there 1303Close the selected tab (@code{tab-close}). It has no effect if there
1304is only one tab. 1304is only one tab.
1305 1305
1306@item C-x 6 o 1306@item C-x t o
1307@kindex C-x 6 o 1307@kindex C-x t o
1308@kindex C-TAB 1308@kindex C-TAB
1309@findex tab-next 1309@findex tab-next
1310Switch to another tab. If you repeat this command, it cycles through 1310Switch to another tab. If you repeat this command, it cycles through
@@ -1312,8 +1312,8 @@ all the tabs on the selected frame. With a positive numeric argument
1312N, it switches to the next Nth tab; with a negative argument −N, it 1312N, it switches to the next Nth tab; with a negative argument −N, it
1313switches back to the previous Nth tab. 1313switches back to the previous Nth tab.
1314 1314
1315@item C-x 6 1 1315@item C-x t 1
1316@kindex C-x 6 1 1316@kindex C-x t 1
1317@findex tab-close-other 1317@findex tab-close-other
1318Close all tabs on the selected frame, except the selected one. 1318Close all tabs on the selected frame, except the selected one.
1319@end table 1319@end table
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi
index a837b6580dd..974f79d5232 100644
--- a/doc/emacs/text.texi
+++ b/doc/emacs/text.texi
@@ -2870,8 +2870,9 @@ of text. It uses two side-by-side windows, each showing its own
2870buffer. There are three ways to enter two-column mode: 2870buffer. There are three ways to enter two-column mode:
2871 2871
2872@table @asis 2872@table @asis
2873@item @kbd{@key{F2} 2} 2873@item @kbd{@key{F2} 2} or @kbd{C-x 6 2}
2874@kindex F2 2 2874@kindex F2 2
2875@kindex C-x 6 2
2875@findex 2C-two-columns 2876@findex 2C-two-columns
2876Enter two-column mode with the current buffer on the left, and on the 2877Enter two-column mode with the current buffer on the left, and on the
2877right, a buffer whose name is based on the current buffer's name 2878right, a buffer whose name is based on the current buffer's name
@@ -2882,8 +2883,9 @@ changed.
2882This command is appropriate when the current buffer is empty or contains 2883This command is appropriate when the current buffer is empty or contains
2883just one column and you want to add another column. 2884just one column and you want to add another column.
2884 2885
2885@item @kbd{@key{F2} s} 2886@item @kbd{@key{F2} s} or @kbd{C-x 6 s}
2886@kindex F2 s 2887@kindex F2 s
2888@kindex C-x 6 s
2887@findex 2C-split 2889@findex 2C-split
2888Split the current buffer, which contains two-column text, into two 2890Split the current buffer, which contains two-column text, into two
2889buffers, and display them side by side (@code{2C-split}). The current 2891buffers, and display them side by side (@code{2C-split}). The current
@@ -2896,19 +2898,21 @@ This command is appropriate when you have a buffer that already contains
2896two-column text, and you wish to separate the columns temporarily. 2898two-column text, and you wish to separate the columns temporarily.
2897 2899
2898@item @kbd{@key{F2} b @var{buffer} @key{RET}} 2900@item @kbd{@key{F2} b @var{buffer} @key{RET}}
2901@itemx @kbd{C-x 6 b @var{buffer} @key{RET}}
2899@kindex F2 b 2902@kindex F2 b
2903@kindex C-x 6 b
2900@findex 2C-associate-buffer 2904@findex 2C-associate-buffer
2901Enter two-column mode using the current buffer as the left-hand buffer, 2905Enter two-column mode using the current buffer as the left-hand buffer,
2902and using buffer @var{buffer} as the right-hand buffer 2906and using buffer @var{buffer} as the right-hand buffer
2903(@code{2C-associate-buffer}). 2907(@code{2C-associate-buffer}).
2904@end table 2908@end table
2905 2909
2906 @kbd{@key{F2} s} looks for a column separator, which is a string 2910 @kbd{@key{F2} s} or @kbd{C-x 6 s} looks for a column separator, which
2907that appears on each line between the two columns. You can specify 2911is a string that appears on each line between the two columns. You can
2908the width of the separator with a numeric argument to @kbd{@key{F2} 2912specify the width of the separator with a numeric argument to
2909s}; that many characters, before point, constitute the separator 2913@kbd{@key{F2} s}; that many characters, before point, constitute the
2910string. By default, the width is 1, so the column separator is the 2914separator string. By default, the width is 1, so the column separator
2911character before point. 2915is the character before point.
2912 2916
2913 When a line has the separator at the proper place, @kbd{@key{F2} s} 2917 When a line has the separator at the proper place, @kbd{@key{F2} s}
2914puts the text after the separator into the right-hand buffer, and 2918puts the text after the separator into the right-hand buffer, and
@@ -2920,22 +2924,25 @@ mode: write it in the left-hand buffer, and put an empty line in the
2920right-hand buffer.) 2924right-hand buffer.)
2921 2925
2922@kindex F2 RET 2926@kindex F2 RET
2927@kindex C-x 6 RET
2923@findex 2C-newline 2928@findex 2C-newline
2924 The command @kbd{@key{F2} @key{RET}} (@code{2C-newline}) inserts 2929 The command @kbd{@key{F2} @key{RET}} or @kbd{C-x 6 @key{RET}}
2925a newline in each of the two buffers at corresponding positions. 2930(@code{2C-newline}) inserts a newline in each of the two buffers at
2926This is the easiest way to add a new line to the two-column text while 2931corresponding positions. This is the easiest way to add a new line to
2927editing it in split buffers. 2932the two-column text while editing it in split buffers.
2928 2933
2929@kindex F2 1 2934@kindex F2 1
2935@kindex C-x 6 1
2930@findex 2C-merge 2936@findex 2C-merge
2931 When you have edited both buffers as you wish, merge them with 2937 When you have edited both buffers as you wish, merge them with
2932@kbd{@key{F2} 1} (@code{2C-merge}). This copies the 2938@kbd{@key{F2} 1} or @kbd{C-x 6 1} (@code{2C-merge}). This copies the
2933text from the right-hand buffer as a second column in the other buffer. 2939text from the right-hand buffer as a second column in the other buffer.
2934To go back to two-column editing, use @kbd{@key{F2} s}. 2940To go back to two-column editing, use @kbd{@key{F2} s}.
2935 2941
2936@kindex F2 d 2942@kindex F2 d
2943@kindex C-x 6 d
2937@findex 2C-dissociate 2944@findex 2C-dissociate
2938 Use @kbd{@key{F2} d} to dissociate the two buffers, leaving each as 2945 Use @kbd{@key{F2} d} or @kbd{C-x 6 d} to dissociate the two buffers,
2939it stands (@code{2C-dissociate}). If the other buffer, the one not 2946leaving each as it stands (@code{2C-dissociate}). If the other buffer,
2940current when you type @kbd{@key{F2} d}, is empty, @kbd{@key{F2} d} 2947the one not current when you type @kbd{@key{F2} d}, is empty,
2941kills it. 2948@kbd{@key{F2} d} kills it.
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi
index 532e537026a..8ff329bdacb 100644
--- a/doc/lispref/keymaps.texi
+++ b/doc/lispref/keymaps.texi
@@ -545,8 +545,14 @@ key.
545 545
546@item 546@item
547@cindex @kbd{C-x 6} 547@cindex @kbd{C-x 6}
548@vindex ctl-x-6-map 548@vindex 2C-mode-map
549@code{ctl-x-6-map} is the global keymap used for the @kbd{C-x 6} prefix 549@code{2C-mode-map} is the global keymap used for the @kbd{C-x 6} prefix
550key.
551
552@item
553@cindex @kbd{C-x t}
554@vindex tab-prefix-map
555@code{tab-prefix-map} is the global keymap used for the @kbd{C-x t} prefix
550key. 556key.
551 557
552@item 558@item
diff --git a/doc/lispref/maps.texi b/doc/lispref/maps.texi
index 1ee4816b0c7..7743f3cb3c4 100644
--- a/doc/lispref/maps.texi
+++ b/doc/lispref/maps.texi
@@ -21,7 +21,7 @@ keymaps, @pxref{Keymaps}.
21@c Don't add xrefs to things covered in {Keymaps}. 21@c Don't add xrefs to things covered in {Keymaps}.
22@table @code 22@table @code
23@item 2C-mode-map 23@item 2C-mode-map
24A sparse keymap for subcommands of the prefix @key{F2}.@* 24A sparse keymap for subcommands of the prefix @kbd{C-x 6}.@*
25@xref{Two-Column,, Two-Column Editing, emacs, The GNU Emacs Manual}. 25@xref{Two-Column,, Two-Column Editing, emacs, The GNU Emacs Manual}.
26 26
27@item abbrev-map 27@item abbrev-map
@@ -42,9 +42,6 @@ A sparse keymap for subcommands of the prefix @kbd{C-x 4}.
42@item ctl-x-5-map 42@item ctl-x-5-map
43A sparse keymap for subcommands of the prefix @kbd{C-x 5}. 43A sparse keymap for subcommands of the prefix @kbd{C-x 5}.
44 44
45@item ctl-x-6-map
46A sparse keymap for subcommands of the prefix @kbd{C-x 6}.
47
48@item ctl-x-map 45@item ctl-x-map
49A full keymap for @kbd{C-x} commands. 46A full keymap for @kbd{C-x} commands.
50 47
@@ -181,6 +178,14 @@ A sparse keymap that provides global bindings for search-related commands.
181The keymap used by Special mode.@* 178The keymap used by Special mode.@*
182@xref{Basic Major Modes}. 179@xref{Basic Major Modes}.
183 180
181@item tab-prefix-map
182The global keymap used for the @kbd{C-x t} prefix key for tab-bar related commands.@*
183@xref{Tab Bars,,, emacs, The GNU Emacs Manual}.
184
185@item tab-bar-map
186The keymap defining the contents of the tab bar.@*
187@xref{Tab Bars,,, emacs, The GNU Emacs Manual}.
188
184@item tool-bar-map 189@item tool-bar-map
185The keymap defining the contents of the tool bar.@* 190The keymap defining the contents of the tool bar.@*
186@xref{Tool Bar}. 191@xref{Tool Bar}.
diff --git a/etc/NEWS b/etc/NEWS
index 6ed3fd46085..e49dc0c9982 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2131,9 +2131,9 @@ The new command 'tab-bar-mode' enables the tab bar at the top of each
2131frame, where you can use tabs to switch between named persistent 2131frame, where you can use tabs to switch between named persistent
2132window configurations. 2132window configurations.
2133 2133
2134The 'C-x 6' sequence is the new prefix key for tab-related commands: 2134The 'C-x t' sequence is the new prefix key for tab-related commands:
2135'C-x 6 2' creates a new tab; 'C-x 6 0' deletes the current tab; 2135'C-x t 2' creates a new tab; 'C-x t 0' deletes the current tab;
2136'C-x 6 b' switches to buffer in another tab; 'C-x 6 f' and 'C-x 6 C-f' 2136'C-x t b' switches to buffer in another tab; 'C-x t f' and 'C-x t C-f'
2137edit file in another tab; and 'C-TAB' and 'S-C-TAB' switch to the next 2137edit file in another tab; and 'C-TAB' and 'S-C-TAB' switch to the next
2138or previous tab. You can also switch between tabs and create/delete 2138or previous tab. You can also switch between tabs and create/delete
2139tabs with a mouse. 2139tabs with a mouse.
@@ -2196,11 +2196,6 @@ immediately. Type 'M-x so-long-commentary' for full documentation.
2196* Incompatible Lisp Changes in Emacs 27.1 2196* Incompatible Lisp Changes in Emacs 27.1
2197 2197
2198--- 2198---
2199** Two-column mode provides its 'C-x 6' prefix map only after loading
2200two-column.el. Its prefix key 'F2' is still available globally
2201along with 'C-x 6' used by the tab commands globally.
2202
2203---
2204** Incomplete destructive splicing support has been removed. 2199** Incomplete destructive splicing support has been removed.
2205Support for Common Lisp style destructive splicing (",.") was 2200Support for Common Lisp style destructive splicing (",.") was
2206incomplete and broken for a long time. It has now been removed. 2201incomplete and broken for a long time. It has now been removed.
diff --git a/lisp/dired.el b/lisp/dired.el
index 574de7ac3eb..3146511305d 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -848,7 +848,7 @@ If DIRNAME is already in a Dired buffer, that buffer is used without refresh."
848 (interactive (dired-read-dir-and-switches "in other frame ")) 848 (interactive (dired-read-dir-and-switches "in other frame "))
849 (switch-to-buffer-other-frame (dired-noselect dirname switches))) 849 (switch-to-buffer-other-frame (dired-noselect dirname switches)))
850 850
851;;;###autoload (define-key ctl-x-6-map "d" 'dired-other-tab) 851;;;###autoload (define-key tab-prefix-map "d" 'dired-other-tab)
852;;;###autoload 852;;;###autoload
853(defun dired-other-tab (dirname &optional switches) 853(defun dired-other-tab (dirname &optional switches)
854 "\"Edit\" directory DIRNAME. Like `dired' but makes a new tab." 854 "\"Edit\" directory DIRNAME. Like `dired' but makes a new tab."
diff --git a/lisp/ldefs-boot.el b/lisp/ldefs-boot.el
index 5c20c0526d4..ea111f2d3f1 100644
--- a/lisp/ldefs-boot.el
+++ b/lisp/ldefs-boot.el
@@ -34138,6 +34138,7 @@ resumed later.
34138;;;;;; 0 0)) 34138;;;;;; 0 0))
34139;;; Generated autoloads from textmodes/two-column.el 34139;;; Generated autoloads from textmodes/two-column.el
34140 (autoload '2C-command "two-column" () t 'keymap) 34140 (autoload '2C-command "two-column" () t 'keymap)
34141 (global-set-key "\C-x6" '2C-command)
34141 (global-set-key [f2] '2C-command) 34142 (global-set-key [f2] '2C-command)
34142 34143
34143(autoload '2C-two-columns "two-column" "\ 34144(autoload '2C-two-columns "two-column" "\
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.")
1262(defalias 'ctl-x-5-prefix ctl-x-5-map) 1262(defalias 'ctl-x-5-prefix ctl-x-5-map)
1263(define-key ctl-x-map "5" 'ctl-x-5-prefix) 1263(define-key ctl-x-map "5" 'ctl-x-5-prefix)
1264 1264
1265(defvar ctl-x-6-map (make-sparse-keymap) 1265(defvar tab-prefix-map (make-sparse-keymap)
1266 "Keymap for tab commands.") 1266 "Keymap for tab-bar related commands.")
1267(defalias 'ctl-x-6-prefix ctl-x-6-map) 1267(define-key ctl-x-map "t" tab-prefix-map)
1268(define-key ctl-x-map "6" 'ctl-x-6-prefix)
1269(defalias 'ctl-x-t-prefix ctl-x-6-map)
1270(define-key ctl-x-map "t" 'ctl-x-t-prefix)
1271 1268
1272 1269
1273;;;; Event manipulation functions. 1270;;;; Event manipulation functions.
diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el
index c376f598966..52d06872312 100644
--- a/lisp/tab-bar.el
+++ b/lisp/tab-bar.el
@@ -962,14 +962,14 @@ Like \\[find-file-other-frame] (which see), but creates a new tab."
962 value) 962 value)
963 (switch-to-buffer-other-tab value)))) 963 (switch-to-buffer-other-tab value))))
964 964
965(define-key ctl-x-6-map "2" 'tab-new) 965(define-key tab-prefix-map "2" 'tab-new)
966(define-key ctl-x-6-map "1" 'tab-close-other) 966(define-key tab-prefix-map "1" 'tab-close-other)
967(define-key ctl-x-6-map "0" 'tab-close) 967(define-key tab-prefix-map "0" 'tab-close)
968(define-key ctl-x-6-map "o" 'tab-next) 968(define-key tab-prefix-map "o" 'tab-next)
969(define-key ctl-x-6-map "b" 'switch-to-buffer-other-tab) 969(define-key tab-prefix-map "b" 'switch-to-buffer-other-tab)
970(define-key ctl-x-6-map "f" 'find-file-other-tab) 970(define-key tab-prefix-map "f" 'find-file-other-tab)
971(define-key ctl-x-6-map "\C-f" 'find-file-other-tab) 971(define-key tab-prefix-map "\C-f" 'find-file-other-tab)
972(define-key ctl-x-6-map "r" 'tab-rename) 972(define-key tab-prefix-map "r" 'tab-rename)
973 973
974 974
975(provide 'tab-bar) 975(provide 'tab-bar)
diff --git a/lisp/textmodes/two-column.el b/lisp/textmodes/two-column.el
index 5bc70d0bd5f..e1ebf1a02a0 100644
--- a/lisp/textmodes/two-column.el
+++ b/lisp/textmodes/two-column.el
@@ -184,9 +184,7 @@ minus this value."
184;; This one is for historical reasons and simple keyboards, it is not 184;; This one is for historical reasons and simple keyboards, it is not
185;; at all mnemonic. All usual sequences containing 2 were used, and 185;; at all mnemonic. All usual sequences containing 2 were used, and
186;; f2 could not be set up in a standard way under Emacs 18. 186;; f2 could not be set up in a standard way under Emacs 18.
187;; This prefix is bound only after loading this package 187;;;###autoload (global-set-key "\C-x6" '2C-command)
188;; to not conflict with the C-x 6 prefix used by tab commands.
189(global-set-key "\C-x6" '2C-command)
190 188
191;;;###autoload (global-set-key [f2] '2C-command) 189;;;###autoload (global-set-key [f2] '2C-command)
192 190