aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2009-10-04 14:25:42 +0000
committerChong Yidong2009-10-04 14:25:42 +0000
commit2e7eba6021bd9914f5e52e4f3c7f45717970dca2 (patch)
tree6157f3bcedc2c94e647cd5067988b5ffc3625c36
parent9a03b2e1ee598a5633a6e621af71db88407c46e8 (diff)
downloademacs-2e7eba6021bd9914f5e52e4f3c7f45717970dca2.tar.gz
emacs-2e7eba6021bd9914f5e52e4f3c7f45717970dca2.zip
* cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
(ede-proj-makefile-insert-variables): Require ede/pmake.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/cedet/ede/proj-comp.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 78a7c638f41..95a8cd0f926 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12009-10-04 Chong Yidong <cyd@stupidchicken.com>
2
3 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
4 (ede-proj-makefile-insert-variables): Require ede/pmake.
5
12009-10-04 Michael Albinus <michael.albinus@gmx.de> 62009-10-04 Michael Albinus <michael.albinus@gmx.de>
2 7
3 * files.el (copy-directory): New defun. 8 * files.el (copy-directory): New defun.
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 @@
46 46
47(require 'ede) ;source object 47(require 'ede) ;source object
48(require 'ede/autoconf-edit) 48(require 'ede/autoconf-edit)
49(eval-when-compile (require 'ede/pmake)) 49(declare-function ede-pmake-insert-variable-once "ede/pmake")
50 50
51;;; Types: 51;;; Types:
52(defclass ede-compilation-program (eieio-instance-inheritor) 52(defclass ede-compilation-program (eieio-instance-inheritor)
@@ -253,6 +253,7 @@ This will prevent rules from creating duplicate variables or rules."
253 253
254(defmethod ede-proj-makefile-insert-variables ((this ede-compilation-program)) 254(defmethod ede-proj-makefile-insert-variables ((this ede-compilation-program))
255 "Insert variables needed by the compiler THIS." 255 "Insert variables needed by the compiler THIS."
256 (require 'ede/pmake)
256 (if (eieio-instance-inheritor-slot-boundp this 'variables) 257 (if (eieio-instance-inheritor-slot-boundp this 'variables)
257 (with-slots (variables) this 258 (with-slots (variables) this
258 (mapcar 259 (mapcar