diff options
| author | Luc Teirlinck | 2004-01-03 17:17:21 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2004-01-03 17:17:21 +0000 |
| commit | 756bb7366fda5751fe3a7d67d35572c29494c0c5 (patch) | |
| tree | aad511a814f19d5ae644cc83e0749224c6080441 | |
| parent | dbcd463f797638c31a3fdd8aa9d7f059061f6f2c (diff) | |
| download | emacs-756bb7366fda5751fe3a7d67d35572c29494c0c5.tar.gz emacs-756bb7366fda5751fe3a7d67d35572c29494c0c5.zip | |
(functionp): Doc fix.
| -rw-r--r-- | lisp/subr.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index a2b09d6b63b..b251ab6573a 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -2205,7 +2205,10 @@ configuration." | |||
| 2205 | (eq (car object) 'frame-configuration))) | 2205 | (eq (car object) 'frame-configuration))) |
| 2206 | 2206 | ||
| 2207 | (defun functionp (object) | 2207 | (defun functionp (object) |
| 2208 | "Non-nil iff OBJECT is a type of object that can be called as a function." | 2208 | "Non-nil if OBJECT is any kind of function or a special form. |
| 2209 | Also non-nil if OBJECT is a symbol and its function definition is | ||
| 2210 | \(recursively) a function or special form. This does not include | ||
| 2211 | macros." | ||
| 2209 | (or (and (symbolp object) (fboundp object) | 2212 | (or (and (symbolp object) (fboundp object) |
| 2210 | (condition-case nil | 2213 | (condition-case nil |
| 2211 | (setq object (indirect-function object)) | 2214 | (setq object (indirect-function object)) |