summaryrefslogtreecommitdiff
path: root/Lisp/libobjcl.lisp
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2007-10-10 14:02:36 +0200
committerMatthias Benkard <code@mail.matthias.benkard.de>2007-10-10 14:02:36 +0200
commit5b0be258009220af661ba877b17c3ebf33972409 (patch)
treef4c0d6c3744473d009d258927d5484edb1a99328 /Lisp/libobjcl.lisp
parentf71611e1995b2645a183a52e221fccfcca64d2e0 (diff)
FIND-SELECTOR: Make ERRORP default to T.
darcs-hash:629ac814cc7f7427b1b1cbe71448a670c37c0171
Diffstat (limited to 'Lisp/libobjcl.lisp')
-rw-r--r--Lisp/libobjcl.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lisp/libobjcl.lisp b/Lisp/libobjcl.lisp
index a18f373..1e6d3df 100644
--- a/Lisp/libobjcl.lisp
+++ b/Lisp/libobjcl.lisp
@@ -369,14 +369,14 @@ If *name* is the name of an existing selector:
(declaim (ftype (function ((or selector symbol string list) &optional t)
(or null selector))
find-selector))
-(defun find-selector (selector-name &optional errorp)
+(defun find-selector (selector-name &optional (errorp t))
"Retrieve a method selector by name.
## Arguments and Values:
*selector-name* --- a **string**, a **symbol**, or a **list** of **symbol**s.
-*errorp* --- a **generalized boolean**.
+*errorp* --- a **generalized boolean**. The default is **true**.
Returns: *selector* --- a __selector__ object, or __nil__.