diff options
author | Glenn Morris <rgm@gnu.org> | 2008-04-23 02:58:55 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2008-04-23 02:58:55 +0000 |
commit | d811a2c4351b0b5523f96515ca83a8545dd55fe3 (patch) | |
tree | 3e402f639388591d8d3bebdbfbc644f77c276529 /lisp/tree-widget.el | |
parent | e234202b48f001924cd0f27334d7cf28a94c6afe (diff) | |
download | emacs-d811a2c4351b0b5523f96515ca83a8545dd55fe3.tar.gz |
(tree-widget-image-enable): Use display-images-p rather than an Emacs
version test.
Diffstat (limited to 'lisp/tree-widget.el')
-rw-r--r-- | lisp/tree-widget.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/tree-widget.el b/lisp/tree-widget.el index f9845ff861a..1be86e37a9d 100644 --- a/lisp/tree-widget.el +++ b/lisp/tree-widget.el @@ -127,9 +127,9 @@ :version "22.1" :group 'widgets) -(defcustom tree-widget-image-enable - (not (or (featurep 'xemacs) (< emacs-major-version 21))) - "*Non-nil means that tree-widget will try to use images." +(defcustom tree-widget-image-enable (if (fboundp 'display-images-p) + (display-images-p)) + "Non-nil means that tree-widget will try to use images." :type 'boolean :group 'tree-widget) |