diff options
| author | Chong Yidong | 2010-04-18 17:40:10 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-04-18 17:40:10 -0400 |
| commit | 137327efbdd91b16b7c56bfbb952da9e7dd8eb4d (patch) | |
| tree | f38027468957bbf98c15144e04000a2bcfc9e968 /lisp/cedet | |
| parent | bce318302431190bd0f20507da1b03808f0599d8 (diff) | |
| download | emacs-137327efbdd91b16b7c56bfbb952da9e7dd8eb4d.tar.gz emacs-137327efbdd91b16b7c56bfbb952da9e7dd8eb4d.zip | |
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." | |||
| 425 | (link (ede-proj-linkers this)) | 425 | (link (ede-proj-linkers this)) |
| 426 | (name (ede-proj-makefile-target-name this)) | 426 | (name (ede-proj-makefile-target-name this)) |
| 427 | (src (oref this source))) | 427 | (src (oref this source))) |
| 428 | (while comp | 428 | (dolist (obj comp) |
| 429 | (ede-compiler-only-once (car comp) | 429 | (ede-compiler-only-once obj |
| 430 | (ede-proj-makefile-insert-variables (car comp))) | 430 | (ede-proj-makefile-insert-variables obj))) |
| 431 | (setq comp (cdr comp))) | ||
| 432 | (ede-proj-makefile-insert-object-variables (car comp) name src) | 431 | (ede-proj-makefile-insert-object-variables (car comp) name src) |
| 433 | (while link | 432 | (while link |
| 434 | (ede-linker-only-once (car link) | 433 | (ede-linker-only-once (car link) |