summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-opt.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2023-02-27 13:57:48 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2023-02-27 14:34:22 +0100
commit443c249d85003639512d8d3b6ace184a9ff53bc2 (patch)
tree073c9bf02bb377f56606cd0352f9d301ccfb1802 /lisp/emacs-lisp/byte-opt.el
parent10d2b76edadb6575545433ea6183c4d8e8588191 (diff)
downloademacs-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