Function: cc-bytecomp-fboundp
cc-bytecomp-fboundp is a macro defined in cc-bytecomp.el.gz.
Signature
(cc-bytecomp-fboundp SYMBOL)
Documentation
Return non-nil if SYMBOL is bound as a function outside the compilation.
This is the same as using fboundp but additionally exclude any
functions that have been bound during compilation with
cc-bytecomp-defun.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-bytecomp.el.gz
(defmacro cc-bytecomp-fboundp (symbol)
"Return non-nil if SYMBOL is bound as a function outside the compilation.
This is the same as using `fboundp' but additionally exclude any
functions that have been bound during compilation with
`cc-bytecomp-defun'."
(declare (debug t))
(let (fun-elem)
(if (and (cc-bytecomp-is-compiling)
(setq fun-elem (assq (car (cdr symbol))
cc-bytecomp-original-functions))
(eq (elt fun-elem 2) 'unbound))
nil
`(fboundp ,symbol))))