mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Don't use expand-file-name to find images for tabs.
* lisp/tab-bar.el (tab-bar-mode): * lisp/tab-line.el (tab-line-new-button, tab-line-close-button): Remove expand-file-name with data-directory.
This commit is contained in:
parent
4509aaa5b0
commit
ffa9054698
2 changed files with 14 additions and 22 deletions
|
|
@ -130,9 +130,7 @@ If nil, don't show the new tab button."
|
|||
(defvar tab-line-new-button
|
||||
(propertize " + "
|
||||
'display `(image :type xpm
|
||||
:file ,(expand-file-name
|
||||
"images/tabs/new.xpm"
|
||||
data-directory)
|
||||
:file "tabs/new.xpm"
|
||||
:margin (2 . 0)
|
||||
:ascent center)
|
||||
'keymap tab-line-add-map
|
||||
|
|
@ -160,9 +158,7 @@ If nil, don't show it at all."
|
|||
(defvar tab-line-close-button
|
||||
(propertize " x"
|
||||
'display `(image :type xpm
|
||||
:file ,(expand-file-name
|
||||
"images/tabs/close.xpm"
|
||||
data-directory)
|
||||
:file "tabs/close.xpm"
|
||||
:margin (2 . 0)
|
||||
:ascent center)
|
||||
'keymap tab-line-tab-close-map
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue