317 |
} |
} |
318 |
|
|
319 |
DEFUN ("and", Fand, Sand, 0, UNEVALLED, 0, |
DEFUN ("and", Fand, Sand, 0, UNEVALLED, 0, |
320 |
doc: /* Eval args until one of them yields nil, then return nil. |
doc: /* Eval args until one of them yields nil, then return nil. |
321 |
The remaining args are not evalled at all. |
The remaining args are not evalled at all. |
322 |
If no arg yields nil, return the last arg's value. |
If no arg yields nil, return the last arg's value. |
323 |
usage: (and CONDITIONS ...) */) |
usage: (and CONDITIONS ...) */) |
348 |
} |
} |
349 |
|
|
350 |
DEFUN ("if", Fif, Sif, 2, UNEVALLED, 0, |
DEFUN ("if", Fif, Sif, 2, UNEVALLED, 0, |
351 |
doc: /* If COND yields non-nil, do THEN, else do ELSE... |
doc: /* If COND yields non-nil, do THEN, else do ELSE... |
352 |
Returns the value of THEN or the value of the last of the ELSE's. |
Returns the value of THEN or the value of the last of the ELSE's. |
353 |
THEN must be one expression, but ELSE... can be zero or more expressions. |
THEN must be one expression, but ELSE... can be zero or more expressions. |
354 |
If COND yields nil, and there are no ELSE's, the value is nil. |
If COND yields nil, and there are no ELSE's, the value is nil. |