emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r114054: * lisp/progmodes/cc-bytecomp.el (cc-require


From: Glenn Morris
Subject: [Emacs-diffs] trunk r114054: * lisp/progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
Date: Wed, 28 Aug 2013 23:31:56 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 114054
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2013-08-28 19:31:52 -0400
message:
  * lisp/progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/progmodes/cc-bytecomp.el  
ccbytecomp.el-20091113204419-o5vbwnq5f7feedwu-2177
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-08-28 23:31:06 +0000
+++ b/lisp/ChangeLog    2013-08-28 23:31:52 +0000
@@ -1,5 +1,7 @@
 2013-08-28  Glenn Morris  <address@hidden>
 
+       * 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  <address@hidden>

=== modified file 'lisp/progmodes/cc-bytecomp.el'
--- a/lisp/progmodes/cc-bytecomp.el     2013-05-30 23:20:05 +0000
+++ b/lisp/progmodes/cc-bytecomp.el     2013-08-28 23:31:52 +0000
@@ -244,7 +244,9 @@
 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]