aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorMattias EngdegÄrd2023-10-15 22:01:06 +0200
committerMattias EngdegÄrd2023-10-21 15:12:55 +0200
commita3db503351e9a8720cdea2f1ca42d55d2de684e2 (patch)
tree299791970977df508b580a64040e86f7e1f30782 /java/res
parent12c8cdb60cc41fb17a85c7e3f75f91cca2d60483 (diff)
downloademacs-a3db503351e9a8720cdea2f1ca42d55d2de684e2.tar.gz
emacs-a3db503351e9a8720cdea2f1ca42d55d2de684e2.zip
Move lexical-binding warning from checkdoc to byte-compiler
This warning is much more appropriate for the compiler, since lexical binding affects what it can reason and warn about, than for checkdoc as the warning has no bearing to documentation at all. The move also improves the reach of the warning. * etc/NEWS: Update. * lisp/emacs-lisp/checkdoc.el (checkdoc-lexical-binding-flag) (checkdoc-file-comments-engine): Move warning from here.... * lisp/emacs-lisp/bytecomp.el (byte-compile-file): ...to here. * test/lisp/emacs-lisp/bytecomp-resources/no-byte-compile.el: * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--unescaped-char-literals) (bytecomp-tests-function-put, bytecomp-tests--not-writable-directory) (bytecomp-tests--target-file-no-directory): Update tests. (bytecomp-tests--log-from-compilation) (bytecomp-tests--lexical-binding-cookie): New test.
Diffstat (limited to 'java/res')
0 files changed, 0 insertions, 0 deletions