emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99757: Bugfix for ede-proj-makefi


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r99757: Bugfix for ede-proj-makefile-insert-variables.
Date: Sun, 18 Apr 2010 17:40:10 -0400
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 99757
committer: Chong Yidong <address@hidden>
branch nick: emacs-23
timestamp: Sun 2010-04-18 17:40:10 -0400
message:
  Bugfix for ede-proj-makefile-insert-variables.
  
  * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Don't
  destroy list before using it.
modified:
  lisp/ChangeLog
  lisp/cedet/ede/pmake.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-04-17 16:10:19 +0000
+++ b/lisp/ChangeLog    2010-04-18 21:40:10 +0000
@@ -1,3 +1,8 @@
+2010-04-18  Chong Yidong  <address@hidden>
+
+       * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Don't
+       destroy list before using it.
+
 2010-04-17  Dan Nicolaescu  <address@hidden>
 
        Fix the version number for added files.

=== modified file 'lisp/cedet/ede/pmake.el'
--- a/lisp/cedet/ede/pmake.el   2010-01-13 08:35:10 +0000
+++ b/lisp/cedet/ede/pmake.el   2010-04-18 21:40:10 +0000
@@ -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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]