Function: cc-conditional-require-after-load
cc-conditional-require-after-load is a macro defined in
cc-bytecomp.el.gz.
Signature
(cc-conditional-require-after-load CC-PART FILE CONDITION)
Documentation
If the CONDITION is satisfied at compile time, (i) force the
file CC-PART.el in the current directory to be loaded at compile
time, (ii) generate an eval-after-load form to load CC-PART.el
after the loading of FILE.
CC-PART will normally be a quoted name such as 'cc-fix. FILE should be a string. CONDITION should not be quoted.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-bytecomp.el.gz
(defmacro cc-conditional-require-after-load (cc-part file condition)
"If the CONDITION is satisfied at compile time, (i) force the
file CC-PART.el in the current directory to be loaded at compile
time, (ii) generate an `eval-after-load' form to load CC-PART.el
after the loading of FILE.
CC-PART will normally be a quoted name such as \\='cc-fix. FILE
should be a string. CONDITION should not be quoted."
(declare (debug t))
(if (eval condition)
(progn
(cc-bytecomp-load (symbol-name (eval cc-part)))
`(eval-after-load ,file
'(require ,cc-part)))
'(progn)))