Commit 2bb762d4 authored by Glenn Morris's avatar Glenn Morris

* lisp/progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.

parent 27be8d39
2013-08-28 Glenn Morris <rgm@gnu.org>
* progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
* progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
......
......@@ -244,7 +244,9 @@ Having cyclic cc-require's will result in infinite recursion. That's
somewhat intentional."
`(progn
(eval-when-compile
(setq cc-bytecomp-noruntime-functions byte-compile-noruntime-functions)
(if (boundp 'byte-compile-noruntime-functions) ; in case load uncompiled
(setq cc-bytecomp-noruntime-functions
byte-compile-noruntime-functions))
(cc-bytecomp-load (symbol-name ,cc-part)))
;; Hack to suppress spurious "might not be defined at runtime" warnings.
;; The basic issue is that
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment