emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master caff1e2 2/3: Always try to display tree-widget with


From: Noam Postavsky
Subject: [Emacs-diffs] master caff1e2 2/3: Always try to display tree-widget with images (Bug#36147)
Date: Sat, 15 Jun 2019 17:25:54 -0400 (EDT)

branch: master
commit caff1e2abea8476741e0ad07cb46a62536c0194c
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    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.
---
 lisp/tree-widget.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/tree-widget.el b/lisp/tree-widget.el
index e4da23a..b284486 100644
--- a/lisp/tree-widget.el
+++ b/lisp/tree-widget.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]