emacs/test/lisp/emacs-lisp
Mattias Engdegård 32763dac46 Replace add-to-list to lexical variable with push (bug#39373)
Since 'add-to-list', being a plain function, cannot access lexical
variables, such use must be rewritten for correctness.
(Some instances actually do work thanks to a compiler macro,
but it's not something code should rely on.)

* lisp/autoinsert.el (auto-insert-alist):
* lisp/cedet/mode-local.el (mode-local-print-bindings):
* lisp/net/tramp-cache.el (tramp-flush-connection-properties)
(tramp-list-connections):
* lisp/net/zeroconf.el (zeroconf-list-service-names)
(zeroconf-list-service-types, zeroconf-list-services):
* lisp/org/org.el (org-reload):
* lisp/whitespace.el (whitespace-report-region):
* test/lisp/emacs-lisp/map-tests.el (test-map-do):
Replace add-to-list with push.
2020-02-01 22:27:23 +01:00
..
edebug-resources Update copyright year to 2020 2020-01-01 00:59:52 +00:00
eieio-tests Update copyright year to 2020 2020-01-01 00:59:52 +00:00
faceup-resources Update copyright year to 2020 2020-01-01 00:59:52 +00:00
faceup-tests Update copyright year to 2020 2020-01-01 00:59:52 +00:00
package-resources Don't try to add nil packages on refresh 2019-10-21 00:00:36 +02:00
shadow-resources Handle case-insensitive filenames for load-path shadows (Bug#5845) 2018-01-18 16:26:52 -05:00
testcover-resources Update copyright year to 2020 2020-01-01 00:59:52 +00:00
backquote-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
backtrace-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
benchmark-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
bindat-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
bytecomp-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cconv-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
checkdoc-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cl-extra-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cl-generic-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cl-lib-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cl-macs-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cl-preloaded-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cl-print-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cl-seq-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
derived-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
edebug-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ert-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ert-x-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
generator-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gv-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
let-alist-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
lisp-mode-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
lisp-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
map-tests.el Replace add-to-list to lexical variable with push (bug#39373) 2020-02-01 22:27:23 +01:00
nadvice-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
package-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
pcase-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
pp-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
regexp-opt-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ring-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
rmc-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
rx-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
seq-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
shadow-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
subr-x-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tabulated-list-test.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
testcover-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
text-property-search-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
thunk-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
timer-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00