Function: flatten-list
flatten-list is a for flatten-tree, defined in
subr.el.gz.
Signature
(flatten-list TREE)
Documentation
Return a "flattened" copy of TREE.
In other words, return a list of the non-nil terminal nodes, or leaves, of the tree of cons cells rooted at TREE. Leaves in the returned list are in the same order as in TREE.
(flatten-tree '(1 (2 . 3) nil (4 5 (6)) 7))
=> (1 2 3 4 5 6 7)
Probably introduced at or before Emacs version 27.1.
Aliases
hif-flatten (obsolete since 27.1)
lpr-flatten-list (obsolete since 27.1)
org--flatten-tree
tramp-compat-flatten-tree
message-flatten-list (obsolete since 27.1)
eshell-flatten-list (obsolete since 27.1)
flatten-list
allout-flatten (obsolete since 27.1)