This website requires JavaScript.
Explore
Help
Register
Sign in
masscollaborationlabs
/
emacs
Watch
2
Star
0
Fork
You've already forked emacs
0
mirror of
https://github.com/masscollaborationlabs/emacs.git
synced
2025-07-09 13:40:50 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
ecf08f0621
emacs
/
test
/
lisp
/
emacs-lisp
/
bytecomp-resources
/
no-byte-compile.el
2 lines
51 B
EmacsLisp
Raw
Normal View
History
Unescape
Escape
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.
2023-10-15 22:01:06 +02:00
;; -*- no-byte-compile: t; lexical-binding: t; -*-
Reference in a new issue
Copy permalink