X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/5244bc019bf7376caff3bb198ff674e0ad9fb0e6..5deebc3c914c86e84d11661a7877c00b2d7fddd1:/lisp/tree-widget.el diff --git a/lisp/tree-widget.el b/lisp/tree-widget.el index 0dd0203e09..0ffb8dc96d 100644 --- a/lisp/tree-widget.el +++ b/lisp/tree-widget.el @@ -1,6 +1,6 @@ ;;; tree-widget.el --- Tree widget -;; Copyright (C) 2004-2012 Free Software Foundation, Inc. +;; Copyright (C) 2004-2016 Free Software Foundation, Inc. ;; Author: David Ponce ;; Maintainer: David Ponce @@ -208,9 +208,11 @@ icon widgets used to draw the tree. By default these images are used: (defcustom tree-widget-space-width 0.5 "Amount of space between an icon image and a node widget. -Must be a valid space :width display property." +Must be a valid space :width display property. +See Info node `(elisp)Specified Space'." :group 'tree-widget - :type 'sexp) + :type '(choice (number :tag "Multiple of normal character width") + sexp)) ;;; Image support ;; @@ -294,9 +296,9 @@ Typically it should contain something like this: (tree-widget-set-parent-theme \"my-parent-theme\") (tree-widget-set-image-properties - (if (featurep 'xemacs) - '(:ascent center) - '(:ascent center :mask (heuristic t)) + (if (featurep \\='xemacs) + \\='(:ascent center) + \\='(:ascent center :mask (heuristic t)) ))" (or name (setq name (or tree-widget-theme "default"))) (unless (string-equal name (tree-widget-theme-name)) @@ -664,7 +666,7 @@ This hook should be local in the buffer setup to display widgets.") (flags (widget-get tree :tree-widget--guide-flags)) (indent (widget-get tree :indent)) ;; Setup widget's image support. Looking up for images, and - ;; setting widgets' :tag-glyph is done here, to allow to + ;; setting widgets' :tag-glyph is done here, to allow us to ;; dynamically change the image theme. (widget-image-enable (tree-widget-use-image-p)) ; Emacs (widget-glyph-enable widget-image-enable) ; XEmacs