Function: cc-bytecomp-boundp
cc-bytecomp-boundp is a macro defined in cc-bytecomp.el.gz.
Signature
(cc-bytecomp-boundp SYMBOL)
Documentation
Return non-nil if SYMBOL is bound as a variable outside the compilation.
This is the same as using boundp but additionally exclude any
variables that have been bound during compilation with
cc-bytecomp-defvar.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-bytecomp.el.gz
(defmacro cc-bytecomp-boundp (symbol)
"Return non-nil if SYMBOL is bound as a variable outside the compilation.
This is the same as using `boundp' but additionally exclude any
variables that have been bound during compilation with
`cc-bytecomp-defvar'."
(declare (debug t))
(if (and (cc-bytecomp-is-compiling)
(memq (car (cdr symbol)) cc-bytecomp-unbound-variables))
nil
`(boundp ,symbol)))