aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/custom.texi2
-rw-r--r--doc/emacs/frames.texi57
-rw-r--r--doc/emacs/windows.texi12
-rw-r--r--doc/lispref/objects.texi3
4 files changed, 66 insertions, 8 deletions
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi
index e7e879065ed..406f0c96c1f 100644
--- a/doc/emacs/custom.texi
+++ b/doc/emacs/custom.texi
@@ -755,7 +755,7 @@ non-@code{nil} value). If you set a variable using the customization
755buffer, you need not worry about giving it an invalid type: the 755buffer, you need not worry about giving it an invalid type: the
756customization buffer usually only allows you to enter meaningful 756customization buffer usually only allows you to enter meaningful
757values. When in doubt, use @kbd{C-h v} (@code{describe-variable}) to 757values. When in doubt, use @kbd{C-h v} (@code{describe-variable}) to
758check the variable's documentation string to see kind of value it 758check the variable's documentation string to see what kind of value it
759expects (@pxref{Examining}). 759expects (@pxref{Examining}).
760 760
761@menu 761@menu
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index d9373b8bc78..8f448e1aedc 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -1266,7 +1266,7 @@ Note that the Tab Bar is different from the Tab Line (@pxref{Tab Line}).
1266Whereas tabs on the Tab Line at the top of each window are used to 1266Whereas tabs on the Tab Line at the top of each window are used to
1267switch between buffers, tabs on the Tab Bar at the top of each frame 1267switch between buffers, tabs on the Tab Bar at the top of each frame
1268are used to switch between window configurations containing several 1268are used to switch between window configurations containing several
1269windows. 1269windows with buffers.
1270 1270
1271@findex tab-bar-mode 1271@findex tab-bar-mode
1272 To toggle the use of tab bars, type @kbd{M-x tab-bar-mode}. This 1272 To toggle the use of tab bars, type @kbd{M-x tab-bar-mode}. This
@@ -1324,6 +1324,10 @@ current before calling the command that adds a new tab.
1324To start a new tab with other buffers, customize the variable 1324To start a new tab with other buffers, customize the variable
1325@code{tab-bar-new-tab-choice}. 1325@code{tab-bar-new-tab-choice}.
1326 1326
1327@vindex tab-bar-new-tab-to
1328 The variable @code{tab-bar-new-tab-to} defines where to place a new tab.
1329By default, a new tab is added on the right side of the current tab.
1330
1327 The following commands can be used to delete tabs: 1331 The following commands can be used to delete tabs:
1328 1332
1329@table @kbd 1333@table @kbd
@@ -1331,7 +1335,8 @@ To start a new tab with other buffers, customize the variable
1331@kindex C-x t 0 1335@kindex C-x t 0
1332@findex tab-close 1336@findex tab-close
1333Close the selected tab (@code{tab-close}). It has no effect if there 1337Close the selected tab (@code{tab-close}). It has no effect if there
1334is only one tab. 1338is only one tab, unless the variable @code{tab-bar-close-last-tab-choice}
1339is customized to a non-default value.
1335 1340
1336@item C-x t 1 1341@item C-x t 1
1337@kindex C-x t 1 1342@kindex C-x t 1
@@ -1339,6 +1344,14 @@ is only one tab.
1339Close all tabs on the selected frame, except the selected one. 1344Close all tabs on the selected frame, except the selected one.
1340@end table 1345@end table
1341 1346
1347@vindex tab-bar-close-tab-select
1348 The variable @code{tab-bar-close-tab-select} defines what tab to
1349select after closing the current tab. By default, it selects
1350a recently used tab.
1351
1352@findex tab-undo
1353 The command @code{tab-undo} restores the last closed tab.
1354
1342 The following commands can be used to switch between tabs: 1355 The following commands can be used to switch between tabs:
1343 1356
1344@table @kbd 1357@table @kbd
@@ -1358,22 +1371,60 @@ switches back to the previous Nth tab.
1358Switch to the previous tab. With a positive numeric argument N, it 1371Switch to the previous tab. With a positive numeric argument N, it
1359switches to the previous Nth tab; with a negative argument −N, it 1372switches to the previous Nth tab; with a negative argument −N, it
1360switches back to the next Nth tab. 1373switches back to the next Nth tab.
1374
1375@item C-x t @key{RET} @var{tabname} @key{RET}
1376Switch to the tab by its name, with completion on all tab names.
1377Default values are tab names sorted by recency, so you can use
1378@kbd{M-n} (@code{next-history-element}) to get the name of the last
1379visited tab, the second last, and so on.
1380
1381@item @var{modifier}-@var{tabnumber}
1382@findex tab-select
1383Switch to the tab by its number. After customizing the variable
1384@code{tab-bar-select-tab-modifiers} to specify a @var{modifier} key, you
1385can select a tab by its ordinal number using the specified modifier in
1386combination with the tab number to select. To display the tab number
1387alongside the tab name, you can customize another variable
1388@code{tab-bar-tab-hints}. This will help you to decide what key to press
1389to select the tab by its number.
1390
1391@item @var{modifier}-@kbd{0}
1392@findex tab-recent
1393Switch to the recent tab. The key combination is the modifier key
1394defined by @code{tab-bar-select-tab-modifiers} and the key @kbd{0}.
1395With a numeric argument N, switch to the Nth recent tab.
1361@end table 1396@end table
1362 1397
1363 The following commands can be used to operate on tabs: 1398 The following commands can be used to operate on tabs:
1364 1399
1365@table @kbd 1400@table @kbd
1366@item C-x t r @var{tabname} @key{RET} 1401@item C-x t r @var{tabname} @key{RET}
1402@findex tab-rename
1367Rename the current tab to @var{tabname}. You can control the 1403Rename the current tab to @var{tabname}. You can control the
1368programmatic name given to a tab by default by customizing the 1404programmatic name given to a tab by default by customizing the
1369variable @code{tab-bar-tab-name-function}. 1405variable @code{tab-bar-tab-name-function}.
1370 1406
1371@item C-x t m 1407@item C-x t m
1408@findex tab-move
1372Move the current tab N positions to the right with a positive numeric 1409Move the current tab N positions to the right with a positive numeric
1373argument N. With a negative argument −N, it moves the current tab 1410argument N. With a negative argument −N, move the current tab
1374N positions to the left. 1411N positions to the left.
1375@end table 1412@end table
1376 1413
1414@findex tab-bar-history-mode
1415 You can enable @code{tab-bar-history-mode} to remember window
1416configurations used in every tab, and restore them.
1417
1418@table @kbd
1419@item tab-bar-history-back
1420Restore a previous window configuration used in the current tab.
1421This navigates back in the history of window configurations.
1422
1423@item tab-bar-history-forward
1424Cancel restoration of the previous window configuration.
1425This navigates forward in the history of window configurations.
1426@end table
1427
1377@node Dialog Boxes 1428@node Dialog Boxes
1378@section Using Dialog Boxes 1429@section Using Dialog Boxes
1379@cindex dialog boxes 1430@cindex dialog boxes
diff --git a/doc/emacs/windows.texi b/doc/emacs/windows.texi
index cb5e9bce4d1..4c67660b92d 100644
--- a/doc/emacs/windows.texi
+++ b/doc/emacs/windows.texi
@@ -628,8 +628,16 @@ Selecting the previous window-local tab is the same as typing @kbd{C-x
628same as @kbd{C-x @key{RIGHT}} (@code{next-buffer}). Both commands 628same as @kbd{C-x @key{RIGHT}} (@code{next-buffer}). Both commands
629support a numeric prefix argument as a repeat count. 629support a numeric prefix argument as a repeat count.
630 630
631You can customize the variable @code{tab-line-tabs-function} to define
632the preferred contents of the tab line. By default, it displays all
633buffers previously visited in the window, as described above. But you
634can also set it to display a list of buffers with the same major mode
635as the current buffer, or to display buffers grouped by their major
636mode, where clicking on the mode name in the first tab displays a list
637of all major modes where you can select another group of buffers.
638
631Note that the Tab Line is different from the Tab Bar (@pxref{Tab Bars}). 639Note that the Tab Line is different from the Tab Bar (@pxref{Tab Bars}).
632Whereas tabs on the Tab Bar at the top of each frame are used to 640Whereas tabs on the Tab Bar at the top of each frame are used to
633switch between window configurations containing several windows, 641switch between window configurations containing several windows with buffers,
634tabs on the Tab Line at the top of each window are used to switch 642tabs on the Tab Line at the top of each window are used to switch
635between buffers. 643between buffers in the window.
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi
index d35a9ace572..cd037d663da 100644
--- a/doc/lispref/objects.texi
+++ b/doc/lispref/objects.texi
@@ -2406,8 +2406,7 @@ call @code{(make-string 3 ?a)} yields a mutable string that can be
2406changed via later calls to @code{aset}. 2406changed via later calls to @code{aset}.
2407 2407
2408 A mutable object can become constant if it is part of an expression 2408 A mutable object can become constant if it is part of an expression
2409that is evaluated, because a program should not modify an object 2409that is evaluated. The reverse does not occur: constant objects
2410that is being evaluated. The reverse does not occur: constant objects
2411should stay constant. 2410should stay constant.
2412 2411
2413 Trying to modify a constant variable signals an error 2412 Trying to modify a constant variable signals an error