diff options
| author | Jared Finder | 2025-02-02 10:11:20 -0800 |
|---|---|---|
| committer | Eli Zaretskii | 2025-02-08 13:13:30 +0200 |
| commit | 72bbbff7e8128fe14c0b69c7282667788758b8b4 (patch) | |
| tree | 17688a3abaea69a88009270eeb081e85efe8eb63 /exec/exec.h | |
| parent | 535eec814484c437443051e0b6d2d654eef9b7e0 (diff) | |
| download | emacs-72bbbff7e8128fe14c0b69c7282667788758b8b4.tar.gz emacs-72bbbff7e8128fe14c0b69c7282667788758b8b4.zip | |
Update window-tool-bar
Add support for the remaining tool bar item specs, new user
option `window-tool-bar-style', and add support for older
Emacs versions.
* doc/emacs/windows.texi (Window Tool Bar): Add documentation
for new user option `window-tool-bar-style'.
* lisp/window-tool-bar.el
(customize-package-emacs-version-alist): Add package-version to
Emacs version mapping.
(window-tool-bar-string): Do not show spacers after hidden
buttons.
(window-tool-bar--keymap-entry-to-string): Call new function
`window-tool-bar--style'. Add handling for :visible, :filter,
:button, :vert-only, and :help item specs. Show key bindings.
(window-tool-bar--last-command-triggers-refresh-p): Use "cannot"
in comment.
(window-tool-bar--allow-images): Delete this, it is replaced by
new user option `window-tool-bar-style'.
(window-tool-bar--use-images): Delete this, it is replaced by
new function `window-tool-bar--style'.
(window-tool-bar--turn-on): Move earlier in file, no changes.
(window-tool-bar-style): New user option supporting all values
`tool-bar-style' supports as well as inheriting from
tool-bar-style.
(window-tool-bar--style): New function to calculate active tool
bar style based on `window-tool-bar-style', `tool-bar-style',
and frame capabilities.
(global-window-tool-bar-mode, window-tool-bar-button)
(window-tool-bar-button-hover, window-tool-bar-button-disabled):
Retroactively add package-version.
(window-tool-bar-button-checked)
(window-tool-bar-button-checked-hover): New faces for :button
item spec.
(window-tool-bar--get-keymap): Call new function
`window-tool-bar--style'. (Bug#75844)
Diffstat (limited to 'exec/exec.h')
0 files changed, 0 insertions, 0 deletions