emacs/lisp/eshell
Alex Branham 36b05dc842 New function flatten-tree
Co-authored-by: Basil L. Contovounesios <contovob@tcd.ie>

* doc/lispref/lists.texi: Document `flatten-tree'.

* lisp/progmodes/js.el (js--maybe-join):
* lisp/printing.el (pr-switches):
* lisp/lpr.el (lpr-print-region):
* lisp/gnus/nnimap.el (nnimap-find-wanted-parts):
* lisp/gnus/message.el (message-talkative-question):
* lisp/gnus/gnus-sum.el (gnus-remove-thread)
(gnus-thread-highest-number, gnus-thread-latest-date):
* lisp/eshell/esh-util.el (eshell-flatten-and-stringify):
* lisp/eshell/esh-opt.el (eshell-eval-using-options):
* lisp/eshell/esh-ext.el (eshell-external-command):
* lisp/eshell/em-xtra.el (eshell/expr):
* lisp/eshell/em-unix.el (eshell/rm, eshell-mvcpln-template)
(eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
(eshell/du, eshell/time, eshell/diff, eshell/locate):
* lisp/eshell/em-tramp.el (eshell/su, eshell/sudo):
* lisp/eshell/em-term.el (eshell-exec-visual):
* lisp/eshell/em-dirs.el (eshell-dirs-substitute-cd, eshell/cd):
* lisp/eshell/em-basic.el (eshell/printnl):
Use new flatten-tree.

* lisp/progmodes/js.el (js--flatten-list):
* lisp/lpr.el (lpr-flatten-list):
* lisp/gnus/message.el (message-flatten-list):
* lisp/eshell/esh-util.el (eshell-flatten-list):
Obsolete in favor of Emacs-wide `flatten-tree'.

* lisp/subr.el (flatten-list): Alias to `flatten-tree' for
discoverability.

* lisp/subr.el (flatten-tree): New defun.

* test/lisp/subr-tests.el (subr-tests-flatten-tree): New test.
2018-12-17 12:15:09 +01:00
..
em-alias.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
em-banner.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
em-basic.el New function flatten-tree 2018-12-17 12:15:09 +01:00
em-cmpl.el Merge from origin/emacs-26 2018-03-20 08:59:39 -07:00
em-dirs.el New function flatten-tree 2018-12-17 12:15:09 +01:00
em-glob.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
em-hist.el Fix resolving symlinks in Eshell history file names 2018-12-09 09:45:40 +02:00
em-ls.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
em-pred.el file-attributes cleanup 2018-09-23 18:32:59 -07:00
em-prompt.el Remove some more face aliases obsolete since 22.1 2018-01-10 15:47:33 -05:00
em-rebind.el Avoid byte-compiler warning in em-rebind.el 2018-10-12 11:39:02 +03:00
em-script.el Quieten eshell compilation 2018-03-02 19:33:48 -08:00
em-smart.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
em-term.el New function flatten-tree 2018-12-17 12:15:09 +01:00
em-tramp.el New function flatten-tree 2018-12-17 12:15:09 +01:00
em-unix.el New function flatten-tree 2018-12-17 12:15:09 +01:00
em-xtra.el New function flatten-tree 2018-12-17 12:15:09 +01:00
esh-arg.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
esh-cmd.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
esh-ext.el New function flatten-tree 2018-12-17 12:15:09 +01:00
esh-io.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
esh-mode.el Detect Chinese sudo password prompts (Bug#31075) 2018-08-23 22:50:15 -04:00
esh-module.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
esh-opt.el New function flatten-tree 2018-12-17 12:15:09 +01:00
esh-proc.el Fix Bug#31704 2018-09-06 12:16:00 +02:00
esh-util.el New function flatten-tree 2018-12-17 12:15:09 +01:00
esh-var.el eshell-eval-using-options: Avoid compiler warning differently 2018-03-10 21:49:22 -05:00
eshell.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00