Function: cc-require-when-compile
cc-require-when-compile is a macro defined in cc-bytecomp.el.gz.
Signature
(cc-require-when-compile CC-PART)
Documentation
Force loading of the corresponding .el file in the current directory
during compilation, but do a compile time require otherwise. Don't
use within eval-when-compile.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-bytecomp.el.gz
(defmacro cc-require-when-compile (cc-part)
"Force loading of the corresponding .el file in the current directory
during compilation, but do a compile time `require' otherwise. Don't
use within `eval-when-compile'."
(declare (debug t))
`(eval-when-compile
(if (and (fboundp 'cc-bytecomp-is-compiling)
(cc-bytecomp-is-compiling))
(if (not (featurep ,cc-part))
(cc-bytecomp-load (symbol-name ,cc-part)))
(require ,cc-part))))