[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: `if' in Elisp (was: Re: title-case function)
From: |
Drew Adams |
Subject: |
RE: `if' in Elisp (was: Re: title-case function) |
Date: |
Sun, 21 Apr 2019 12:34:55 +0000 (UTC) |
> >> Do you mean using progn for the ELSE in the
> >> if expression? From the documentation on
> >> `if':
> >> (if COND THEN ELSE...)
> >> THEN must be one expression, but ELSE... can
> >> be zero or more expressions.
> > So yeah, progn is unnecessary.
>
> Unbelievable, when/how did this happen?!
After Lisp 1.5 and before Common Lisp v1 - 1970s probably.
For Emacs Lisp, it's been the case since Day One, I believe.
http://www.softwarepreservation.org/projects/LISP/book/LISP%201.5%20Programmers%20Manual.pdf
https://en.wikipedia.org/wiki/Common_Lisp_the_Language
http://www.math.utah.edu/docs/info/elisp_10.html#SEC110
Re: title-case function, Eli Zaretskii, 2019/04/21
Re: title-case function, Jean-Christophe Helary, 2019/04/21