1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-23 10:34:07 +00:00
emacs/lisp/emacs-lisp
Mario Lang 466ee1b3ea An efficient built-in mapcan
A built-in version of `mapcan' avoids consing up (and GC'ing) the
intermediate list.

* src/fns.c (Fmapcan): New built-in.
(syms_of_fns): Define.

* lisp/emacs-lisp/cl.el (mapcan): Remove defalias.

* lisp/emacs-lisp/cl-extra.el (cl-mapcan): Use built-in `mapcan'
if only one sequence is provided.

* lisp/progmodes/hideif.el (hif-delimit):
* lisp/dired-aux.el (dired-do-find-regexp):
* lisp/woman.el (woman-parse-colon-path): Use `mapcan' instead of
`cl-mapcan'.

* lisp/woman.el (eval-when-compile): Require 'cl-lib only when
compiling.

* lisp/mouse.el (mouse-buffer-menu-map):
* lisp/net/pop3.el (pop3-uidl-dele):
* lisp/progmodes/gud.el (gud-jdb-build-source-files-list):
* lisp/cedet/semantic/db-find.el (semanticdb-fast-strip-find-results):
* lisp/cedet/semantic/symref/grep.el (semantic-symref-derive-find-filepatterns):
* lisp/gnus/nnmail.el (nnmail-split-it):
* lisp/gnus/gnus-sum.el (gnus-articles-in-thread):
* lisp/gnus/gnus-registry.el (gnus-registry-sort-addresses):
* lisp/gnus/gnus-util.el (gnus-mapcar): Use `mapcan'.
2016-07-10 01:18:47 +02:00
..
advice.el Pacify ‘make check-declare’ 2016-05-14 19:57:44 -07:00
autoload.el * lisp/emacs-lisp/autoload.el (autoload--make-defs-autoload): Expand less 2016-06-01 14:54:40 -04:00
avl-tree.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
backquote.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
benchmark.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
bindat.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
byte-opt.el New primitives sxhash-eq, sxhash-eql 2016-04-08 15:33:59 -07:00
byte-run.el Further define-obsolete-* doc fixups 2016-05-01 19:27:16 +02:00
bytecomp.el Don’t document declare-function internals 2016-05-27 18:17:04 -07:00
cconv.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
chart.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
check-declare.el ‘make check-declare’ now chatters less 2016-05-18 00:49:30 -07:00
checkdoc.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
cl-extra.el An efficient built-in mapcan 2016-07-10 01:18:47 +02:00
cl-generic.el Pacify ‘make check-declare’ 2016-05-14 19:57:44 -07:00
cl-indent.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cl-lib.el Make setf for frame-height/width work again 2016-02-23 15:45:08 +11:00
cl-macs.el Merge from origin/emacs-25 2016-06-19 00:47:00 +02:00
cl-preloaded.el Fix copyright years by hand 2016-01-01 01:38:07 -08:00
cl-seq.el (cl-union): Do not ignore :test argument when lists are equal. 2016-02-23 14:38:30 +11:00
cl.el An efficient built-in mapcan 2016-07-10 01:18:47 +02:00
copyright.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
crm.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cursor-sensor.el Autoload cursor-sensor-inhibit (bug#23406) 2016-04-30 23:36:47 +08:00
debug.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
derived.el Add :after-hook facility to define-derived-mode. 2016-05-08 13:24:20 +00:00
disass.el Teach M-x disassemble a default argument. 2016-03-31 19:34:05 -04:00
easy-mmode.el Wrap the auto-generated doc string 2016-05-01 19:27:09 +02:00
easymenu.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
edebug.el * lisp/emacs-lisp/edebug.el (edebug-sit-on-break): Give it a version number. 2016-05-07 17:10:36 +00:00
eieio-base.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
eieio-compat.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
eieio-core.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
eieio-custom.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
eieio-datadebug.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
eieio-opt.el Merge from origin/emacs-25 2016-05-10 07:44:28 -07:00
eieio-speedbar.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
eieio.el ; Auto-commit of loaddefs files. 2016-05-10 07:18:12 -04:00
eldoc.el Replace eldoc-documentation-function with a hook 2016-07-06 23:16:32 -04:00
elint.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
elp.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ert-x.el Remove ‘ert-with-function-mocked’ macro in favour of ‘cl-letf’ macro 2016-06-08 19:10:59 +02:00
ert.el ; * lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): 2016-05-16 20:52:13 -04:00
ewoc.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
find-func.el Merge from origin/emacs-25 2016-05-31 08:07:41 -07:00
float-sup.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
generator.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
generic.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
gv.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
helper.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
inline.el Document 'define-inline' 2016-01-16 15:30:47 +02:00
let-alist.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
lisp-mnt.el ; Revert "* emacs-lisp/lisp-mnt.el (lm-header): save-excursion" 2016-05-12 01:18:38 +03:00
lisp-mode.el Add a couple cells to lisp-prettify-symbols-alist 2016-07-08 17:12:54 -04:00
lisp.el Doc fix for insert-pair-alist 2016-05-01 19:27:12 +02:00
macroexp.el * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix (bug#19704) 2016-06-11 17:38:11 -04:00
map-ynp.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
map.el ; Spelling fixes 2016-06-26 13:38:48 +02:00
nadvice.el * lisp/emacs-lisp/nadvice.el (advice--make-docstring): 2016-06-13 18:18:34 -04:00
package-x.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
package.el Pacify 'make check-declare' 2016-05-26 13:39:41 -07:00
pcase.el * lisp/emacs-lisp/pcase.el: Undo last change's spurious changes 2016-05-30 16:35:00 -04:00
pp.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
radix-tree.el Automatically find vars and functions via definition-prefixes 2016-06-15 13:21:59 -04:00
re-builder.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
regexp-opt.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
regi.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ring.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
rx.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
seq.el Fix seq-contains 2016-06-18 10:10:00 +02:00
shadow.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
smie.el * lisp/emacs-lisp/smie.el (smie-indent-keyword): Don't burp in strings 2016-03-16 22:55:56 -04:00
subr-x.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
syntax.el * lisp/emacs-lisp/syntax.el (syntax-propertize): Flush extended region. 2016-06-22 09:44:24 -04:00
tabulated-list.el * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Redundant line 2016-01-25 09:48:33 +00:00
tcover-ses.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
tcover-unsafep.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
testcover.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
thunk.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
timer-list.el Make the revert command in timer-list-mode work 2016-03-01 16:06:42 +11:00
timer.el add-timeout doc fix 2016-05-01 19:27:14 +02:00
tq.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
trace.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
unsafep.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
warnings.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00