Mercurial > emacs
comparison lisp/progmodes/cc-mode.el @ 71754:60304f6ae360
* progmodes/cc-awk.el, cc-defs.el, cc-fonts.el, cc-langs.el,
cc-mode.el: Changes to eradicate eval-after-load.
author | Alan Mackenzie <acm@muc.de> |
---|---|
date | Mon, 10 Jul 2006 13:17:09 +0000 |
parents | 3d8b060d10fb |
children | 2b53c13e6121 8a8e69664178 |
comparison
equal
deleted
inserted
replaced
71753:0f33735837d4 | 71754:60304f6ae360 |
---|---|
112 (autoload 'c-subword-mode "cc-subword" | 112 (autoload 'c-subword-mode "cc-subword" |
113 "Mode enabling subword movement and editing keys." t) | 113 "Mode enabling subword movement and editing keys." t) |
114 | 114 |
115 ;; Load cc-fonts first after font-lock is loaded, since it isn't | 115 ;; Load cc-fonts first after font-lock is loaded, since it isn't |
116 ;; necessary until font locking is requested. | 116 ;; necessary until font locking is requested. |
117 (eval-after-load "font-lock" | 117 ; (eval-after-load "font-lock" ; 2006-07-09: font-lock is now preloaded. |
118 '(require 'cc-fonts)) | 118 ; ' |
119 (require 'cc-fonts) ;) | |
119 | 120 |
120 ;; cc-langs isn't loaded when we're byte compiled, so add autoload | 121 ;; cc-langs isn't loaded when we're byte compiled, so add autoload |
121 ;; directives for the interface functions. | 122 ;; directives for the interface functions. |
122 (autoload 'c-make-init-lang-vars-fun "cc-langs") | 123 (autoload 'c-make-init-lang-vars-fun "cc-langs") |
123 (autoload 'c-init-language-vars "cc-langs" nil nil 'macro) | 124 (autoload 'c-init-language-vars "cc-langs" nil nil 'macro) |