summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp-mode.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-12-24 10:39:57 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2022-12-24 11:55:40 +0100
commit1748361c68aeb3e18e6007369f153657227e6059 (patch)
tree1ebf9ce1d1f4936548f0cf577abf99194dd6a564 /lisp/emacs-lisp/lisp-mode.el
parent8bb8cc5b49a0cb681327ce9abe38266d5e26d19c (diff)
downloademacs-1748361c68aeb3e18e6007369f153657227e6059.tar.gz
emacs-1748361c68aeb3e18e6007369f153657227e6059.tar.bz2
emacs-1748361c68aeb3e18e6007369f153657227e6059.zip
Fix condition-case empty success handler misinterpretation
(condition-case X E (:success)) should return nil; the compiler behaves correctly in this case. * src/eval.c (internal_lisp_condition_case): Evaluate an empty :success handler as nil instead of pretending it isn't there. * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--test-cases): Add test case.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions