+1999-12-24 Shuhei KOBAYASHI <shuhei@aqua.ocn.ne.jp>
+
+ * poe.el (functionp): Define it before loading "localhook".
+
+\f
1999-12-24 Yuuichi Teranishi <teranisi@gohome.org>
* APEL: Version 10.0 released.
(throw 'found (car list))))
(setq list (cdr list)))))
+;;; Define `functionp' here because "localhook" uses it.
+
+;; Emacs 20.1/XEmacs 20.3 (but first appeared in Epoch?): (functionp OBJECT)
+(defun-maybe functionp (object)
+ "Non-nil if OBJECT is a type of object that can be called as a function."
+ (or (subrp object) (byte-code-function-p object)
+ (eq (car-safe object) 'lambda)
+ (and (symbolp object) (fboundp object))))
+
;;; @@ Hook manipulation functions.
;; "localhook" package is written for Emacs 19.28 and earlier.
(setq parts (cons (substring string start (match-beginning 0)) parts)
start (match-end 0)))
(nreverse (cons (substring string start) parts))))
-
-;; Emacs 20.1/XEmacs 20.3 (but first appeared in Epoch?): (functionp OBJECT)
-(defun-maybe functionp (object)
- "Non-nil if OBJECT is a type of object that can be called as a function."
- (or (subrp object) (byte-code-function-p object)
- (eq (car-safe object) 'lambda)
- (and (symbolp object) (fboundp object))))
\f
;;; @ Window commands emulation. (lisp/window.el)