mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 14:30:50 -08:00
lisp/emacs-lisp/cl-macs.el: Fix typos in docstrings.
This commit is contained in:
parent
6c0674ee27
commit
1048af7c8f
2 changed files with 11 additions and 6 deletions
|
|
@ -1957,7 +1957,7 @@ by EXPANSION, and (setq NAME ...) will act like (setf EXPANSION ...).
|
|||
"Collect multiple return values.
|
||||
FORM must return a list; the BODY is then executed with the first N elements
|
||||
of this list bound (`let'-style) to each of the symbols SYM in turn. This
|
||||
is analogous to the Common Lisp `cl-multiple-value-bind' macro, using lists to
|
||||
is analogous to the Common Lisp `multiple-value-bind' macro, using lists to
|
||||
simulate true multiple return values. For compatibility, (cl-values A B C) is
|
||||
a synonym for (list A B C).
|
||||
|
||||
|
|
@ -1975,7 +1975,7 @@ a synonym for (list A B C).
|
|||
"Collect multiple return values.
|
||||
FORM must return a list; the first N elements of this list are stored in
|
||||
each of the symbols SYM in turn. This is analogous to the Common Lisp
|
||||
`cl-multiple-value-setq' macro, using lists to simulate true multiple return
|
||||
`multiple-value-setq' macro, using lists to simulate true multiple return
|
||||
values. For compatibility, (cl-values A B C) is a synonym for (list A B C).
|
||||
|
||||
\(fn (SYM...) FORM)"
|
||||
|
|
@ -2002,7 +2002,7 @@ values. For compatibility, (cl-values A B C) is a synonym for (list A B C).
|
|||
(cons 'progn body))
|
||||
;;;###autoload
|
||||
(defmacro cl-the (_type form)
|
||||
"At present this ignores _TYPE and is simply equivalent to FORM."
|
||||
"At present this ignores TYPE and is simply equivalent to FORM."
|
||||
(declare (indent 1) (debug (cl-type-spec form)))
|
||||
form)
|
||||
|
||||
|
|
@ -2059,7 +2059,7 @@ values. For compatibility, (cl-values A B C) is a synonym for (list A B C).
|
|||
"Declare SPECS about the current function while compiling.
|
||||
For instance
|
||||
|
||||
\(cl-declare (warn 0))
|
||||
(cl-declare (warn 0))
|
||||
|
||||
will turn off byte-compile warnings in the function.
|
||||
See Info node `(cl)Declarations' for details."
|
||||
|
|
@ -2279,8 +2279,8 @@ KEYWORD can be one of :conc-name, :constructor, :copier, :predicate,
|
|||
Each SLOT may instead take the form (SNAME SDEFAULT SOPTIONS...), where
|
||||
SDEFAULT is the default value of that slot and SOPTIONS are keyword-value
|
||||
pairs for that slot.
|
||||
Currently, only one keyword is supported, `:read-only'. If this has a non-nil
|
||||
value, that slot cannot be set via `setf'.
|
||||
Currently, only one keyword is supported, `:read-only'. If this has a
|
||||
non-nil value, that slot cannot be set via `setf'.
|
||||
|
||||
\(fn NAME SLOTS...)"
|
||||
(declare (doc-string 2) (indent 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue