emacs/lisp/emacs-lisp
Mattias Engdegård 0b099e34dc Use ambient lexical-binding value in ert-deftest body (bug#50738)
* lisp/emacs-lisp/ert.el (ert-deftest):
Evaluate the body of `ert-deftest` with the `lexical-binding` value of
the source file (or more precisely the value in force when the
definition is evaluated), which is what everyone expected, instead of
always using dynamic binding which is what they got until now.
* test/lisp/emacs-lisp/ert-tests.el
(ert-test-deftest-lexical-binding-t): New test.
2021-09-25 20:25:01 +02:00
..
advice.el ; More stylistic docfixes in emacs-lisp/*.el found by checkdoc 2021-09-18 13:14:50 +02:00
autoload.el Improve doc strings of a recent commit 2021-09-18 14:56:55 +03:00
avl-tree.el Doc fixes in avl-tree.el 2021-04-28 19:36:42 +03:00
backquote.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
backtrace.el ; More stylistic docfixes in emacs-lisp/*.el found by checkdoc 2021-09-18 13:14:50 +02:00
benchmark.el * lisp/emacs-lisp/benchmark.el (benchmark-elapse): Tweak 2021-06-11 14:06:29 -04:00
bindat.el Evaluate eql specializers 2021-08-03 18:26:15 -04:00
byte-opt.el ; More stylistic docfixes in emacs-lisp/*.el found by checkdoc 2021-09-18 13:14:50 +02:00
byte-run.el ; More stylistic docfixes in emacs-lisp/*.el found by checkdoc 2021-09-18 13:14:50 +02:00
bytecomp.el Renege on anonymous &rest (bug#50268, bug#50720) 2021-09-25 20:25:01 +02:00
cconv.el Improve error messaging from byte-compiling dotted lists 2021-09-22 23:47:04 +02:00
chart.el EIEIO: Promote the CLOS behavior over the EIEIO-specific behavior 2021-06-12 16:22:03 -04:00
check-declare.el ; More minor docfixes found by checkdoc 2021-09-14 07:57:14 +02:00
checkdoc.el checkdoc: Don't ask to disambiguate mode names 2021-09-24 23:42:08 +02:00
cl-extra.el Doc fix; cl-random is only pseudo-random 2021-09-25 00:05:55 +02:00
cl-generic.el ; More stylistic docfixes in emacs-lisp/*.el found by checkdoc 2021-09-18 13:14:50 +02:00
cl-indent.el ; More minor docfixes found by checkdoc 2021-09-14 07:57:14 +02:00
cl-lib.el Move generalized variable specs from cl-lib.el to gv.el 2021-07-22 00:21:34 +02:00
cl-macs.el Don't quote nil and t in doc strings and comments 2021-09-21 22:11:43 +02:00
cl-preloaded.el * lisp/emacs-lisp/cl-preloaded.el: Fix the format of props in slot-descs 2021-06-24 17:32:20 -04:00
cl-print.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cl-seq.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
comp-cstr.el Don't quote nil and t in doc strings and comments 2021-09-21 22:11:43 +02:00
comp.el Don't quote nil and t in doc strings and comments 2021-09-21 22:11:43 +02:00
copyright.el ; More minor docfixes found by checkdoc 2021-09-14 07:57:14 +02:00
crm.el * lisp/minibuffer.el (completion-in-region--single-word): Simplify 2021-06-26 12:29:52 -04:00
cursor-sensor.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
debug.el ; More stylistic docfixes in emacs-lisp/*.el found by checkdoc 2021-09-18 13:14:50 +02:00
derived.el Clarify define-derived-mode docstring 2021-09-25 19:02:31 +02:00
disass.el ; More minor docfixes found by checkdoc 2021-09-14 07:57:14 +02:00
easy-mmode.el Minor clarification of define-minor-mode :keymap argument 2021-09-25 17:54:49 +02:00
easymenu.el * lisp/emacs-lisp/easymenu.el (easy-menu-do-define): Fix bug#50051 2021-08-14 12:22:57 -04:00
edebug.el ; More stylistic docfixes in emacs-lisp/*.el found by checkdoc 2021-09-18 13:14:50 +02:00
eieio-base.el ; More stylistic docfixes in emacs-lisp/*.el found by checkdoc 2021-09-18 13:14:50 +02:00
eieio-compat.el * lisp/emacs-lisp/edebug.el (edebug--handle-&-spec-op <&name>): New method 2021-02-13 16:21:53 -05:00
eieio-core.el * lisp/emacs-lisp/macroexp.el (macroexp-warn-and-return): Add arg category 2021-07-21 11:11:50 -04:00
eieio-custom.el ; More minor docfixes found by checkdoc 2021-09-14 07:57:14 +02:00
eieio-datadebug.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
eieio-opt.el Use string-search instead of string-match[-p] 2021-08-09 11:35:56 +02:00
eieio-speedbar.el Use string-search instead of string-match[-p] 2021-08-09 11:35:56 +02:00
eieio.el * lisp/emacs-lisp/macroexp.el (macroexp-warn-and-return): Add arg category 2021-07-21 11:11:50 -04:00
eldoc.el ; More minor docfixes found by checkdoc 2021-09-14 07:57:14 +02:00
elint.el ; More stylistic docfixes in emacs-lisp/*.el found by checkdoc 2021-09-18 13:14:50 +02:00
elp.el ; More minor docfixes found by checkdoc 2021-09-14 07:57:14 +02:00
ert-x.el Fix a few Edebug specifications where code is wrapped in lambdas. 2021-05-17 10:09:43 +02:00
ert.el Use ambient lexical-binding value in ert-deftest body (bug#50738) 2021-09-25 20:25:01 +02:00
ewoc.el ; More stylistic docfixes in emacs-lisp/*.el found by checkdoc 2021-09-18 13:14:50 +02:00
faceup.el Don't quote nil and t in doc strings and comments 2021-09-21 22:11:43 +02:00
find-func.el Make `find-function-source-path' into obsolete alias 2021-09-14 13:44:20 +02:00
float-sup.el * lisp/emacs-lisp/float-sup.el (pi): Actually mark it as obsolete 2021-04-12 12:53:53 -04:00
generator.el Improve doc strings of a recent commit 2021-09-18 14:56:55 +03:00
generic.el Prefer defvar-local in emacs-lisp/*.el 2021-01-31 14:55:53 +01:00
gv.el Move generalized variable specs from cl-lib.el to gv.el 2021-07-22 00:21:34 +02:00
helper.el Use lexical-binding in all of lisp/emacs-lisp 2021-01-28 14:42:21 -05:00
hierarchy.el ; * etc/NEWS: Improve wording of an item. 2021-09-21 22:21:31 +02:00
inline.el * lisp/emacs-lisp/cconv.el: Improve line-nb info of unused var warnings 2021-02-26 20:24:52 -05:00
let-alist.el ; More minor docfixes found by checkdoc 2021-09-14 07:57:14 +02:00
lisp-mnt.el Prefer "website" to "homepage" 2021-09-16 15:42:44 +02:00
lisp-mode.el Indent bodies of local function definitions properly in elisp-mode 2021-09-25 03:34:37 +02:00
lisp.el Reformat up-list and backward-up-list doc strings 2021-09-02 10:22:52 +02:00
macroexp.el ; More minor docfixes found by checkdoc 2021-09-14 07:57:14 +02:00
map-ynp.el ; Fix typos 2021-09-03 13:05:32 +02:00
map.el Consistently test alist keys with equal in map.el 2021-09-21 13:32:49 +01:00
memory-report.el memory-report: support calculating size for structures 2021-09-02 09:37:06 +02:00
nadvice.el ; More stylistic docfixes in emacs-lisp/*.el found by checkdoc 2021-09-18 13:14:50 +02:00
package-x.el ; More minor docfixes found by checkdoc 2021-09-14 07:57:14 +02:00
package.el Use command substitution instead of raw keys in more places 2021-09-24 21:26:08 +02:00
pcase.el Clarify docstring of pcase-exhaustive 2021-09-19 17:25:39 +02:00
pp.el Merge from origin/emacs-27 2021-05-04 07:50:25 -07:00
radix-tree.el Evaluate eql specializers 2021-08-03 18:26:15 -04:00
re-builder.el Use string-replace instead of replace-regexp-in-string 2021-08-08 19:25:26 +02:00
regexp-opt.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
regi.el Use lexical-binding in all of lisp/emacs-lisp 2021-01-28 14:42:21 -05:00
ring.el ; Remove some useless comments 2021-04-16 14:54:02 +02:00
rmc.el Fix a recent change in rmc.el 2021-05-07 17:09:44 +03:00
rx.el Add example of advanced user-defined Rx form to manual 2021-08-23 19:57:17 +02:00
seq.el Prefer seq-random-elt to nth+random 2021-09-24 19:41:03 +02:00
shadow.el ; More minor docfixes found by checkdoc 2021-09-14 07:57:14 +02:00
shortdoc.el Add new function `ensure-list' 2021-09-21 20:31:05 +02:00
smie.el Clarify smie-indent-forward-token doc string 2021-08-12 15:39:36 +02:00
subr-x.el Change how thread-first/thread-last indent the first argument 2021-09-22 05:57:48 +02:00
syntax.el Give 'syntax-propertize-wholelines' a docstring. 2021-05-30 22:38:48 +02:00
tabulated-list.el Fix alignment on font size change in tabulated-list-mode 2021-09-25 00:33:21 +02:00
tcover-ses.el ; Normalize and add missing first and last lines 2021-04-19 12:21:01 +02:00
testcover.el ; More stylistic docfixes in emacs-lisp/*.el found by checkdoc 2021-09-18 13:14:50 +02:00
text-property-search.el Even further `text-property-search-forward' clarifications 2021-05-12 19:01:53 +02:00
thunk.el ; More minor docfixes found by checkdoc 2021-09-14 07:57:14 +02:00
timer-list.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
timer.el Don't quote nil and t in doc strings and comments 2021-09-21 22:11:43 +02:00
tq.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
trace.el * lisp/emacs-lisp/trace.el (trace-values): Work outside of traced function 2021-03-02 09:13:57 -05:00
unsafep.el ; Normalize and add missing first and last lines 2021-04-19 12:21:01 +02:00
warnings.el Use string-search instead of string-match[-p] 2021-08-09 11:35:56 +02:00