# HG changeset patch # User Chong Yidong # Date 1271626810 14400 # Node ID 34a427c407febb236e7afdcc5db4146e3efcf678 # Parent d7f8e879d70cc2dc539799c1fc9d701e8e236a54 Bugfix for ede-proj-makefile-insert-variables. * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Don't destroy list before using it. diff -r d7f8e879d70c -r 34a427c407fe lisp/ChangeLog --- a/lisp/ChangeLog Sat Apr 17 09:10:19 2010 -0700 +++ b/lisp/ChangeLog Sun Apr 18 17:40:10 2010 -0400 @@ -1,3 +1,8 @@ +2010-04-18 Chong Yidong + + * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Don't + destroy list before using it. + 2010-04-17 Dan Nicolaescu Fix the version number for added files. diff -r d7f8e879d70c -r 34a427c407fe lisp/cedet/ede/pmake.el --- a/lisp/cedet/ede/pmake.el Sat Apr 17 09:10:19 2010 -0700 +++ b/lisp/cedet/ede/pmake.el Sun Apr 18 17:40:10 2010 -0400 @@ -425,10 +425,9 @@ (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)