Function: cc-load

cc-load is a macro defined in cc-bytecomp.el.gz.

Signature

(cc-load CC-PART)

Documentation

Force loading of the corresponding .el file in the current directory during compilation. Don't use outside eval-when-compile or eval-and-compile.

Having cyclic cc-load's will result in infinite recursion. That's somewhat intentional.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-bytecomp.el.gz
(defmacro cc-load (cc-part)
  "Force loading of the corresponding .el file in the current directory
during compilation.  Don't use outside `eval-when-compile' or
`eval-and-compile'.

Having cyclic cc-load's will result in infinite recursion.  That's
somewhat intentional."
  (declare (debug t))
  `(or (and (featurep 'cc-bytecomp)
	    (cc-bytecomp-load ,cc-part))
       (load ,cc-part nil t nil)))