diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2023-02-27 13:57:48 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2023-02-27 14:34:22 +0100 |
commit | 443c249d85003639512d8d3b6ace184a9ff53bc2 (patch) | |
tree | 073c9bf02bb377f56606cd0352f9d301ccfb1802 /lisp/emacs-lisp/byte-opt.el | |
parent | 10d2b76edadb6575545433ea6183c4d8e8588191 (diff) | |
download | emacs-443c249d85003639512d8d3b6ace184a9ff53bc2.tar.gz emacs-443c249d85003639512d8d3b6ace184a9ff53bc2.tar.bz2 emacs-443c249d85003639512d8d3b6ace184a9ff53bc2.zip |
Warn about `condition-case` without handlers
Omitting handlers from a `condition-case` form makes it useless
since no errors are caught.
* lisp/emacs-lisp/macroexp.el (macroexp--expand-all): New warning.
* test/lisp/emacs-lisp/bytecomp-tests.el
(bytecomp-test--with-suppressed-warnings): Add test case.
* etc/NEWS: Announce.
Diffstat (limited to 'lisp/emacs-lisp/byte-opt.el')
0 files changed, 0 insertions, 0 deletions