diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2024-04-22 16:29:13 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2024-04-22 19:27:24 +0200 |
commit | e442161f11d11e5d4cac6bb1d5920a9ec36ad29f (patch) | |
tree | 6c8d9a53d2d9ccc93d64d2500684c8f01285f371 /test/lisp/emacs-lisp/bytecomp-tests.el | |
parent | a2e327cbca1e756373109d4788ea635250d23224 (diff) | |
download | emacs-e442161f11d11e5d4cac6bb1d5920a9ec36ad29f.tar.gz emacs-e442161f11d11e5d4cac6bb1d5920a9ec36ad29f.tar.bz2 emacs-e442161f11d11e5d4cac6bb1d5920a9ec36ad29f.zip |
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.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-tests.el')
-rw-r--r-- | test/lisp/emacs-lisp/bytecomp-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el index a943012e5fc..e3ce87cc9af 100644 --- a/test/lisp/emacs-lisp/bytecomp-tests.el +++ b/test/lisp/emacs-lisp/bytecomp-tests.el @@ -1135,7 +1135,7 @@ byte-compiled. Run with dynamic binding." "var.*foo.*lacks a prefix") (bytecomp--define-warning-file-test "warn-format.el" - "called with 2 args to fill 1 format field") + "called with 2 arguments to fill 1 format field") (bytecomp--define-warning-file-test "warn-free-setq.el" "free.*foo") |