]> git.eshelyaron.com Git - emacs.git/commit
Better format string compilation warning
authorMattias EngdegÄrd <mattiase@acm.org>
Mon, 22 Apr 2024 14:29:13 +0000 (16:29 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 22 Apr 2024 18:39:13 +0000 (20:39 +0200)
commit46bc9511d0e8887f6dcce2d8e73a4e7c3a1da3b7
tree937bd660966479c9df431b9e3729af927fbd3bdd
parent8126107b37042d020615f8437275d8c0430f20d6
Better format string compilation warning

* lisp/emacs-lisp/bytecomp.el (byte-compile-format-warn):
Speed up by eliminating the temporary buffer.
Detect invalid format sequences.  Use plurals properly.
* test/lisp/emacs-lisp/bytecomp-tests.el: Update test.

(cherry picked from commit e442161f11d11e5d4cac6bb1d5920a9ec36ad29f)
lisp/emacs-lisp/bytecomp.el
test/lisp/emacs-lisp/bytecomp-tests.el