; Improve comment from last change

This commit is contained in:
Sean Whitton 2024-10-23 10:53:02 +08:00
parent 09e05f7ee4
commit f5451b6a06

View file

@ -2654,8 +2654,9 @@ are non-nil, then the result is the value of the last binding.
Some Lisp programmers follow the convention that `and' and `and-let*' Some Lisp programmers follow the convention that `and' and `and-let*'
are for forms evaluated for return value, and `when' and `when-let*' are are for forms evaluated for return value, and `when' and `when-let*' are
for forms evaluated for side-effect with returned values ignored." for forms evaluated for side-effect with returned values ignored."
;; Document this convention here because it partially explains why we ;; ^ Document this convention here because it explains why we have
;; have both `when-let*' and `and-let*'. ;; both `when-let*' and `and-let*' (in addition to the additional
;; feature of `and-let*' when BODY is empty).
(declare (indent 1) (debug if-let*)) (declare (indent 1) (debug if-let*))
(let (res) (let (res)
(if varlist (if varlist