mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-03 11:33:37 +00:00
(case, typecase): Don't quote nil and t in docstrings.
This commit is contained in:
parent
66d0d12c98
commit
a8ea72a078
@ -486,7 +486,7 @@ The result of the body appears to the compiler as a quoted constant."
|
||||
Each clause looks like (KEYLIST BODY...). EXPR is evaluated and compared
|
||||
against each key in each KEYLIST; the corresponding BODY is evaluated.
|
||||
If no clause succeeds, case returns nil. A single atom may be used in
|
||||
place of a KEYLIST of one atom. A KEYLIST of `t' or `otherwise' is
|
||||
place of a KEYLIST of one atom. A KEYLIST of t or `otherwise' is
|
||||
allowed only in the final clause, and matches if no other keys match.
|
||||
Key values are compared by `eql'."
|
||||
(let* ((temp (if (cl-simple-expr-p expr 3) expr (gensym)))
|
||||
@ -523,7 +523,7 @@ Key values are compared by `eql'."
|
||||
"Evals EXPR, chooses from CLAUSES on that value.
|
||||
Each clause looks like (TYPE BODY...). EXPR is evaluated and, if it
|
||||
satisfies TYPE, the corresponding BODY is evaluated. If no clause succeeds,
|
||||
typecase returns nil. A TYPE of `t' or `otherwise' is allowed only in the
|
||||
typecase returns nil. A TYPE of t or `otherwise' is allowed only in the
|
||||
final clause, and matches if no other keys match."
|
||||
(let* ((temp (if (cl-simple-expr-p expr 3) expr (gensym)))
|
||||
(type-list nil)
|
||||
|
Loading…
Reference in New Issue
Block a user