diff options
| author | Mattias EngdegÄrd | 2024-11-06 13:29:23 +0100 |
|---|---|---|
| committer | Eli Zaretskii | 2024-11-06 15:27:33 +0200 |
| commit | e88309eef30abca327c845fe4133d758d33cfb6b (patch) | |
| tree | e6cd7619246c7b35e1b8af0ec9dd9f23e3e69cd7 /java | |
| parent | 3231af3727b450404efd6f49ddf5c95c5a8cbb0f (diff) | |
| download | emacs-e88309eef30abca327c845fe4133d758d33cfb6b.tar.gz emacs-e88309eef30abca327c845fe4133d758d33cfb6b.zip | |
Fix wrong value of `when` and `unless` with empty body (bug#74215)
* lisp/subr.el (when, unless): Return nil when the body is empty.
Reported by Brennan Vincent.
* test/lisp/subr-tests.el (subr-test-when): Add test cases.
(cherry picked from commit 9ee9154247454c18f9f75d0d32592b817d7e977a)
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions