]> git.eshelyaron.com Git - emacs.git/commit
Add mechanism for gradually phasing in new byte compilation warnings
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 19 Jun 2022 11:37:10 +0000 (13:37 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 19 Jun 2022 11:37:10 +0000 (13:37 +0200)
commit93b018c664e1f95b41d0239c651a79a237edfc38
tree6c9ef739ac783eeaeca5b766c42d32b2c17077bd
parent76f3878e287542ffaa40126528fc0cb2dc6a2a3d
Add mechanism for gradually phasing in new byte compilation warnings

* lisp/Makefile.in (BYTE_COMPILE_FLAGS): Enable all byte
compilation warnings.
* lisp/emacs-lisp/bytecomp.el (byte-compile-warning-types): Add
docstrings-non-ascii-quotes and document new semantics for `all'
and t.
(byte-compile--emacs-build-warning-types): New constant.
(byte-compile-warning-enabled-p): Implement the new semantics.
(byte-compile-docstring-style-warn): Reinstate the Unicode quote
warning.
lisp/Makefile.in
lisp/emacs-lisp/bytecomp.el