diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2010-04-18 17:40:10 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2010-04-18 17:40:10 -0400 |
commit | 137327efbdd91b16b7c56bfbb952da9e7dd8eb4d (patch) | |
tree | f38027468957bbf98c15144e04000a2bcfc9e968 | |
parent | bce318302431190bd0f20507da1b03808f0599d8 (diff) | |
download | emacs-137327efbdd91b16b7c56bfbb952da9e7dd8eb4d.tar.gz |
Bugfix for ede-proj-makefile-insert-variables.
* cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Don't
destroy list before using it.
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/cedet/ede/pmake.el | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a337f8f5a8c..f6a1c77b1a4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-04-18 Chong Yidong <cyd@stupidchicken.com> + + * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Don't + destroy list before using it. + 2010-04-17 Dan Nicolaescu <dann@ics.uci.edu> Fix the version number for added files. diff --git a/lisp/cedet/ede/pmake.el b/lisp/cedet/ede/pmake.el index 971cd70a6ee..19c4b26edcd 100644 --- a/lisp/cedet/ede/pmake.el +++ b/lisp/cedet/ede/pmake.el @@ -425,10 +425,9 @@ sources variable." (link (ede-proj-linkers this)) (name (ede-proj-makefile-target-name this)) (src (oref this source))) - (while comp - (ede-compiler-only-once (car comp) - (ede-proj-makefile-insert-variables (car comp))) - (setq comp (cdr comp))) + (dolist (obj comp) + (ede-compiler-only-once obj + (ede-proj-makefile-insert-variables obj))) (ede-proj-makefile-insert-object-variables (car comp) name src) (while link (ede-linker-only-once (car link) |