diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2009-10-04 14:25:42 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2009-10-04 14:25:42 +0000 |
commit | 2e7eba6021bd9914f5e52e4f3c7f45717970dca2 (patch) | |
tree | 6157f3bcedc2c94e647cd5067988b5ffc3625c36 /lisp/cedet/ede/proj-comp.el | |
parent | 9a03b2e1ee598a5633a6e621af71db88407c46e8 (diff) | |
download | emacs-2e7eba6021bd9914f5e52e4f3c7f45717970dca2.tar.gz |
* cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
(ede-proj-makefile-insert-variables): Require ede/pmake.
Diffstat (limited to 'lisp/cedet/ede/proj-comp.el')
-rw-r--r-- | lisp/cedet/ede/proj-comp.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/cedet/ede/proj-comp.el b/lisp/cedet/ede/proj-comp.el index be91c25d5f0..378d299cc9e 100644 --- a/lisp/cedet/ede/proj-comp.el +++ b/lisp/cedet/ede/proj-comp.el @@ -46,7 +46,7 @@ (require 'ede) ;source object (require 'ede/autoconf-edit) -(eval-when-compile (require 'ede/pmake)) +(declare-function ede-pmake-insert-variable-once "ede/pmake") ;;; Types: (defclass ede-compilation-program (eieio-instance-inheritor) @@ -253,6 +253,7 @@ This will prevent rules from creating duplicate variables or rules." (defmethod ede-proj-makefile-insert-variables ((this ede-compilation-program)) "Insert variables needed by the compiler THIS." + (require 'ede/pmake) (if (eieio-instance-inheritor-slot-boundp this 'variables) (with-slots (variables) this (mapcar |