]> git.eshelyaron.com Git - emacs.git/commit
Give 'when-let' and 'when-let*' their own Edebug specification.
authorPhilipp Stephani <phst@google.com>
Sat, 22 May 2021 11:29:50 +0000 (13:29 +0200)
committerPhilipp Stephani <phst@google.com>
Sat, 22 May 2021 11:29:50 +0000 (13:29 +0200)
commit33a52cb45832d4041b6f0db78ee289ba9aca0f64
treec8711f0226c9581a9afe2b9b75ae503a98117577
parent91fa95bde0619b4f3bc7d93d06c7c75998b1588d
Give 'when-let' and 'when-let*' their own Edebug specification.

The Edebug specification of 'if-let' and 'if-let*' doesn't work if the
body is empty.  While that's a pathological case, it's not wrong per
se, and could arguably happen due to macro expansion.

* lisp/emacs-lisp/subr-x.el (when-let*, when-let): Don't reuse Edebug
specification from 'if-let*' and 'if-let'.
lisp/emacs-lisp/subr-x.el