emacs/lisp/progmodes
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
..
ada-mode.el * lisp/progmodes/ada-mode.el (comment-region): Avoid defadvice 2018-09-14 11:25:16 -04:00
ada-prj.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ada-stmt.el ; Fix doc typos related to indefinite articles 2018-02-16 15:16:15 -05:00
ada-xref.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
antlr-mode.el Replace some uses of cl with cl-lib 2018-03-23 16:14:49 -04:00
asm-mode.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
autoconf.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
bat-mode.el Support variable-unquoting syntax in bat-mode 2018-03-15 15:23:01 +02:00
bug-reference.el Optionally add argument description in minor mode DOC (bug#10754) 2018-07-01 23:34:53 -04:00
cc-align.el Implement the C++11 "using" type definition. 2018-06-09 21:39:43 +00:00
cc-awk.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cc-bytecomp.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cc-cmds.el Add ~44 edebug specs to CC Mode. 2018-10-15 00:45:24 +00:00
cc-defs.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
cc-engine.el Merge from origin/emacs-26 2018-12-10 09:43:05 -08:00
cc-fonts.el Merge from origin/emacs-26 2018-12-10 09:43:05 -08:00
cc-guess.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cc-langs.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
cc-menus.el ; Fix doc typos related to indefinite articles 2018-02-16 15:16:15 -05:00
cc-mode.el Merge from origin/emacs-26 2018-11-24 07:51:04 -08:00
cc-styles.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cc-vars.el * lisp/progmodes/cc-{defs,engine,langs,vars}.el: Comment the use of "a\\`" 2018-04-02 19:53:41 +00:00
cfengine.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cmacexp.el file-attributes cleanup 2018-09-23 18:32:59 -07:00
compile.el Make compilation mode work with warnings from compiled buffer functions 2018-11-28 13:19:04 +00:00
cperl-mode.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
cpp.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
cwarn.el Optionally add argument description in minor mode DOC (bug#10754) 2018-07-01 23:34:53 -04:00
dcl-mode.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ebnf-abn.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
ebnf-bnf.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
ebnf-dtd.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
ebnf-ebx.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
ebnf-iso.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
ebnf-otz.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
ebnf-yac.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
ebnf2ps.el Audit use of lsh and fix glitches 2018-08-21 13:44:32 -07:00
ebrowse.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
elisp-mode.el Allow custom load paths in elisp's byte-compilation Flymake 2018-12-04 23:34:36 +00:00
etags.el * lisp/multifile.el: New file, extracted from etags.el 2018-09-22 11:46:35 -04:00
executable.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
f90.el Remove some obsolete compat code in f90.el 2018-01-09 22:56:31 -08:00
flymake-cc.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
flymake-proc.el Fix Bug#33524 2018-12-17 11:56:05 +01:00
flymake.el Allow per-diagnostic overlay properties in Flymake 2018-12-13 00:10:50 +00:00
fortran.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
gdb-mi.el Merge from origin/emacs-26 2018-12-02 10:32:23 -08:00
glasses.el Optionally add argument description in minor mode DOC (bug#10754) 2018-07-01 23:34:53 -04:00
grep.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
gud.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
hideif.el Audit use of lsh and fix glitches 2018-08-21 13:44:32 -07:00
hideshow.el Optionally add argument description in minor mode DOC (bug#10754) 2018-07-01 23:34:53 -04:00
icon.el ; Fix doc typos related to indefinite articles 2018-02-16 15:16:15 -05:00
idlw-complete-structtag.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
idlw-help.el Suppress some font-lock-fontify-buffer compiler warnings 2018-03-05 15:58:57 -05:00
idlw-shell.el * lisp/progmodes/idlw-shell.el: Use lexical-binding 2018-09-14 11:52:15 -04:00
idlw-toolbar.el Replace some uses of cl with cl-lib 2018-03-23 16:14:49 -04:00
idlwave.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
inf-lisp.el ; Use GNU not Gnu in docs 2018-03-23 16:01:12 -04:00
js.el New function flatten-tree 2018-12-17 12:15:09 +01:00
ld-script.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
m4-mode.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
make-mode.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
mantemp.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
meta-mode.el Stop mentioning options.el in doc 2018-03-12 21:09:36 -04:00
mixal-mode.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
modula2.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
octave.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
opascal.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
pascal.el Optionally add argument description in minor mode DOC (bug#10754) 2018-07-01 23:34:53 -04:00
perl-mode.el Don't quote self-quoting pcase patterns 2018-10-30 16:17:45 +01:00
prog-mode.el Optionally add argument description in minor mode DOC (bug#10754) 2018-07-01 23:34:53 -04:00
project.el * lisp/multifile.el: New file, extracted from etags.el 2018-09-22 11:46:35 -04:00
prolog.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
ps-mode.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
python.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
ruby-mode.el Support Ruby block arguments ending with , or * 2018-12-11 03:14:35 +02:00
scheme.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
sh-script.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
simula.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
sql.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
subword.el Remove uses of obsolete 'CUA' symbol property 2018-11-18 21:15:06 -05:00
tcl.el Fix Tcl indentation in a namespace 2018-07-03 22:13:27 -06:00
vera-mode.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
verilog-mode.el Update verilog-mode with upstream patches. 2018-11-26 07:11:55 -05:00
vhdl-mode.el Optionally add argument description in minor mode DOC (bug#10754) 2018-07-01 23:34:53 -04:00
which-func.el Optionally add argument description in minor mode DOC (bug#10754) 2018-07-01 23:34:53 -04:00
xref.el Add setter for 'xref-marker-ring-length' 2018-11-10 11:43:39 +02:00
xscheme.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00