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 | 28bdd20b03945fd3392f2a185f7d27b60c468b82 (patch) | |
tree | 1ffb693b3b7775fe1e656d1a3183ae48decfc3b5 /lisp/cedet | |
parent | 7419486f6d035211ed811080d5b30db967e4206f (diff) | |
download | emacs-28bdd20b03945fd3392f2a185f7d27b60c468b82.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) |