emacs/test/lisp/emacs-lisp
Lars Ingebrigtsen 49910adf87 Fix cl-generic bootstrap problems
* lisp/sqlite-mode.el (require):
* lisp/net/eudc.el (require):
* lisp/arc-mode.el (require): Require subr-x, since these files
are using macros from there.
* lisp/emacs-lisp/subr-x.el (with-memoization): Move from here...
* lisp/subr.el (with-memoization): ... to here, as it's used from
the preloaded cl-generic.el file.

* lisp/emacs-lisp/cl-generic.el (cl--generic-compiler): Don't use
the autoloaded `byte-compile' function during bootstrap.
(cl--generic-get-dispatcher): Don't require subr-x, either.

cl-generic has been preloaded since 2015, and most usages of it (in
preloaded files) work fine.  In particular, using `cl-defgeneric' is
unproblematic.  However, `cl-defmethod' would end up pulling in the
byte compiler (at load time), which would make it impossible to use
`cl-defmethod' in pre-loaded files, and this change fixes that (but
possibly not in the most self-evidently correct way).
2022-06-24 11:04:51 +02:00
..
bytecomp-resources Document and test 'no-byte-compile' behavior. 2022-06-21 19:11:05 +02:00
edebug-resources ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
eieio-tests Silence byte-compiler in eieio tests 2022-01-03 05:00:11 +01:00
faceup-resources ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
faceup-tests ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
macroexp-resources ; Add 2022 to copyright years. 2022-01-01 07:07:15 -05:00
package-resources Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
pp-resources Fix pp-emacs-lisp-code printing of cons cells 2022-05-17 19:45:20 +02:00
shadow-resources Use lexical-binding in most remaining emacs-lisp tests 2020-04-30 12:09:51 +02:00
testcover-resources Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
backquote-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
backtrace-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
benchmark-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
bindat-tests.el bindat (strz): Null terminate fixed-length strings if there is room 2022-06-22 16:55:40 +03:00
bytecomp-tests.el Document and test 'no-byte-compile' behavior. 2022-06-21 19:11:05 +02:00
cconv-tests.el Fix cl-generic bootstrap problems 2022-06-24 11:04:51 +02:00
check-declare-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
checkdoc-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cl-extra-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cl-generic-tests.el cl-generic-tests.el: Fix warning 2022-01-18 16:53:28 -05:00
cl-lib-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
cl-macs-tests.el Make Edebug specification for 'cl-defstruct' more lenient. 2022-03-14 10:59:03 +01:00
cl-preloaded-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cl-print-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cl-seq-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
comp-cstr-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
copyright-tests.el Fix copyright-fix-years, use a dash to separate years in a range 2022-01-28 15:23:05 +01:00
derived-tests.el ; * test/lisp/emacs-lisp/derived-tests.el: Silence byte-compiler. 2022-01-26 00:44:00 +01:00
easy-mmode-tests.el Move buffer-local-set-state to subr because it's used at runtime 2022-05-06 16:09:38 +02:00
edebug-tests.el Fix edebug parsing of ., 2022-06-19 14:25:44 +02:00
ert-tests.el Fix EMBA failure for ert-test-record-backtrace 2022-03-12 22:40:49 +01:00
ert-x-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
find-func-tests.el find-func.el: Fix bug#41104 2022-06-07 10:31:17 -04:00
float-sup-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
generator-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
gv-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
hierarchy-tests.el Use lexical-binding in more tests 2020-08-29 22:41:51 +02:00
let-alist-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
lisp-mnt-tests.el ; Copyright year fixes 2022-01-01 10:02:17 -08:00
lisp-mode-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
lisp-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
macroexp-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
map-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
memory-report-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
multisession-tests.el ; Add 2022 to copyright years. 2022-01-01 07:07:15 -05:00
nadvice-tests.el nadvice.el: Use OClosures 2022-04-26 17:36:13 -04:00
oclosure-tests.el New generic function oclosure-interactive-form 2022-04-26 10:36:52 -04:00
package-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
pcase-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
pp-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
range-tests.el Reduce code duplication in parts of (auto)load&defalias 2022-01-28 13:19:11 -05:00
regexp-opt-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ring-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
rmc-tests.el Make `?' work again in read-multiple-choice 2022-03-17 12:55:39 +01:00
rx-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
seq-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
shadow-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
shortdoc-tests.el Test that buffer exists in shortdoc-all-groups-work 2022-01-04 03:52:42 +01:00
subr-x-tests.el Slightly faster hash-table-keys and hash-table-values 2022-06-17 19:16:52 +02:00
syntax-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
tabulated-list-tests.el ; Fix tabulated-list-mode tests after revert 2022-01-11 06:17:59 +01:00
testcover-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
text-property-search-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
thunk-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
timer-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
unsafep-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
vtable-tests.el Add a new library to format variable-pitch tables 2022-02-19 13:16:28 +01:00
warnings-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00