diff options
author | Juri Linkov <juri@linkov.net> | 2019-10-15 22:44:10 +0300 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2019-10-15 22:44:10 +0300 |
commit | ffa90546980c71fc0c2355005b382f07405aeeec (patch) | |
tree | 8d73be099f1fe37f89d89fe5059c95e7995ff92e /lisp/tab-line.el | |
parent | 4509aaa5b0666a120fb1e255d52d83d03c46c596 (diff) | |
download | emacs-ffa90546980c71fc0c2355005b382f07405aeeec.tar.gz |
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.
Diffstat (limited to 'lisp/tab-line.el')
-rw-r--r-- | lisp/tab-line.el | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lisp/tab-line.el b/lisp/tab-line.el index 4397cae255f..5f2dd3e6dd0 100644 --- a/lisp/tab-line.el +++ b/lisp/tab-line.el @@ -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 |