mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Always try to display tree-widget with images (Bug#36147)
Checking the result of display-images-p doesn't make sense if the display capabilities when loading the file are different from the display used to actually look at the widget (which is easily possible now that Emacs supports both tty and graphic frames in the same instance). * lisp/tree-widget.el (tree-widget-image-enable): Default to t, always. This still shows text on displays that can't show images.
This commit is contained in:
parent
a1b230b58a
commit
caff1e2abe
1 changed files with 3 additions and 3 deletions
|
|
@ -123,11 +123,11 @@
|
|||
:version "22.1"
|
||||
:group 'widgets)
|
||||
|
||||
(defcustom tree-widget-image-enable (if (fboundp 'display-images-p)
|
||||
(display-images-p))
|
||||
(defcustom tree-widget-image-enable t
|
||||
"Non-nil means that tree-widget will try to use images."
|
||||
:type 'boolean
|
||||
:group 'tree-widget)
|
||||
:group 'tree-widget
|
||||
:version "27.1")
|
||||
|
||||
(defvar tree-widget-themes-load-path
|
||||
'(load-path
|
||||
|
|
|
|||
Loading…
Reference in a new issue