mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* lisp/tab-line.el: Escape %-constructs in tab names (bug#57848)
(tab-line-tab-name-format-default): Replace % with %% in tab name to escape %-constructs from processing by mode-line-format.
This commit is contained in:
parent
3fa4cca3d2
commit
44c2915552
1 changed files with 1 additions and 1 deletions
|
|
@ -483,7 +483,7 @@ which the tab will represent."
|
|||
(dolist (fn tab-line-tab-face-functions)
|
||||
(setf face (funcall fn tab tabs face buffer-p selected-p)))
|
||||
(apply 'propertize
|
||||
(concat (propertize name
|
||||
(concat (propertize (string-replace "%" "%%" name) ;; (bug#57848)
|
||||
'keymap tab-line-tab-map
|
||||
'help-echo (if selected-p "Current tab"
|
||||
"Click to select tab")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue