mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
; Fix typo (wrong-type-argument not wrong-argument-type)
This commit is contained in:
parent
b511c38bba
commit
c6bf09d5c3
2 changed files with 2 additions and 2 deletions
|
|
@ -881,7 +881,7 @@ help with this a plethora of predicates have been created.
|
|||
@anchor{find-class}
|
||||
Return the class that @var{symbol} represents.
|
||||
If there is no class, @code{nil} is returned if @var{errorp} is @code{nil}.
|
||||
If @var{errorp} is non-@code{nil}, @code{wrong-argument-type} is signaled.
|
||||
If @var{errorp} is non-@code{nil}, @code{wrong-type-argument} is signaled.
|
||||
@end defun
|
||||
|
||||
@defun class-p class
|
||||
|
|
|
|||
|
|
@ -593,7 +593,7 @@ OBJECT can be an instance or a class."
|
|||
(defun find-class (symbol &optional errorp)
|
||||
"Return the class that SYMBOL represents.
|
||||
If there is no class, nil is returned if ERRORP is nil.
|
||||
If ERRORP is non-nil, `wrong-argument-type' is signaled."
|
||||
If ERRORP is non-nil, `wrong-type-argument' is signaled."
|
||||
(let ((class (cl--find-class symbol)))
|
||||
(cond
|
||||
((eieio--class-p class) class)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue