summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-bookmark.el
diff options
context:
space:
mode:
authorWamm K. D <jaft.r@outlook.com>2022-08-03 19:05:08 -0500
committerEli Zaretskii <eliz@gnu.org>2022-10-27 20:12:24 +0300
commitc6ec08e49af84ac35d0f793d01390a8b8c991f18 (patch)
tree4a154104374bd820b2dcf9c29615de929b25af42 /lisp/gnus/gnus-bookmark.el
parentd53febbd214bb238c9d0cb2df0d1b9cd20a59103 (diff)
downloademacs-c6ec08e49af84ac35d0f793d01390a8b8c991f18.tar.gz
emacs-c6ec08e49af84ac35d0f793d01390a8b8c991f18.tar.bz2
emacs-c6ec08e49af84ac35d0f793d01390a8b8c991f18.zip
Allow Hierarchy to delay computation of children
This adds an option to allow callers to specify that computing the children of the hierarchy should be delayed to when the user calls for them, by utilizing the tree-widget :expander property. * lisp/emacs-lisp/hierarchy.el (hierarchy-add-tree) (hierarchy-add-trees): Add parameter 'delay-children-p'. * lisp/emacs-lisp/hierarchy.el (hierarchy--create-delayed-tree-widget): Add function. * lisp/emacs-lisp/hierarchy.el (hierarchy-convert-to-tree-widget): Utilize ':expander' if delaying children. (Bug#55900) * test/lisp/emacs-lisp/hierarchy-tests.el: Add tests for delayed-children functionality.
Diffstat (limited to 'lisp/gnus/gnus-bookmark.el')
0 files changed, 0 insertions, 0 deletions