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 /lisp/cedet | |
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.
Diffstat (limited to 'lisp/cedet')
-rw-r--r-- | lisp/cedet/ede/pmake.el | 7 |
1 files changed, 3 insertions, 4 deletions
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) |