mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
; Improve doc strings of 'tab-bar-mode' and 'tab-line-mode'
* lisp/tab-line.el (tab-line-mode): * lisp/tab-bar.el (tab-bar-mode): Doc fixes (bug#73049)
This commit is contained in:
parent
87a8b12a0c
commit
54071b9cef
@ -257,7 +257,15 @@ a list of frames to update."
|
||||
"Tab Bar mode map.")
|
||||
|
||||
(define-minor-mode tab-bar-mode
|
||||
"Toggle the tab bar in all graphical frames (Tab Bar mode)."
|
||||
"Toggle the tab bar in all graphical frames (Tab Bar mode).
|
||||
|
||||
When this mode is enabled, Emacs displays a tab bar on top of each frame.
|
||||
The tab bar is a row of tabs -- buttons that you can click
|
||||
to switch the frame between different window configurations.
|
||||
See `current-window-configuration' for more about window configurations.
|
||||
To add a button (which can then record one more window configuration),
|
||||
click on the \"+\" button. Clicking on the \"x\" icon of a button
|
||||
deletes the button."
|
||||
:global t
|
||||
;; It's defined in C/cus-start, this stops the d-m-m macro defining it again.
|
||||
:variable tab-bar-mode
|
||||
|
@ -1141,7 +1141,15 @@ However, return the correct mouse position list if EVENT is a
|
||||
|
||||
;;;###autoload
|
||||
(define-minor-mode tab-line-mode
|
||||
"Toggle display of tab line in the windows displaying the current buffer."
|
||||
"Toggle display of tab line in the windows displaying the current buffer.
|
||||
|
||||
When this mode is enabled, each window displays a tab line on its
|
||||
top screen line. The tab line is a row of tabs -- buttons which
|
||||
you can click to have the window display the buffer whose name is
|
||||
shown on the button. Clicking on the \"x\" icon of the button
|
||||
removes the button (but does not kill the corresponding buffer).
|
||||
In addition, the tab line shows a \"+\" button which adds a new
|
||||
button, so you could have one more buffer shown on the tab line."
|
||||
:lighter nil
|
||||
(let ((default-value '(:eval (tab-line-format))))
|
||||
;; Preserve the existing tab-line set outside of this mode
|
||||
|
Loading…
Reference in New Issue
Block a user