(functionp): Use byte-code-function-p, not compiled-function-p.
This commit is contained in:
parent
bf896a1b80
commit
c029995c63
1 changed files with 1 additions and 1 deletions
|
|
@ -1065,7 +1065,7 @@ configuration."
|
|||
|
||||
(defun functionp (object)
|
||||
"Non-nil if OBJECT is a type of object that can be called as a function."
|
||||
(or (subrp object) (compiled-function-p object)
|
||||
(or (subrp object) (byte-code-function-p object)
|
||||
(eq (car-safe object) 'lambda)
|
||||
(and (symbolp object) (fboundp object))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue