diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2024-11-06 13:29:23 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2024-11-06 13:33:29 +0100 |
commit | 9ee9154247454c18f9f75d0d32592b817d7e977a (patch) | |
tree | fdb464d0d2c4cff16c47021a511e03054c28ec5e /lisp/emacs-lisp/timer-list.el | |
parent | 1e3d72d962b8b736741747a5ec4595e08965ef49 (diff) | |
download | emacs-9ee9154247454c18f9f75d0d32592b817d7e977a.tar.gz emacs-9ee9154247454c18f9f75d0d32592b817d7e977a.tar.bz2 emacs-9ee9154247454c18f9f75d0d32592b817d7e977a.zip |
Fix wrong value of `when` and `unless` with empty body (bug#74215)
Reported by Brennan Vincent.
* lisp/subr.el (when, unless): Return nil when the body is empty.
* test/lisp/subr-tests.el (subr-test-when): Add test cases.
Diffstat (limited to 'lisp/emacs-lisp/timer-list.el')
0 files changed, 0 insertions, 0 deletions