[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, elisp, updated. release_1-9-1-43-gbfd4
From: |
Daniel Kraft |
Subject: |
[Guile-commits] GNU Guile branch, elisp, updated. release_1-9-1-43-gbfd472a |
Date: |
Thu, 30 Jul 2009 19:49:02 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=bfd472a7d3ede320b55b7653e30ca37eba4d464a
The branch, elisp has been updated
via bfd472a7d3ede320b55b7653e30ca37eba4d464a (commit)
from e6042c08b76fd9145c023b9507565b0caf5baebe (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bfd472a7d3ede320b55b7653e30ca37eba4d464a
Author: Daniel Kraft <address@hidden>
Date: Thu Jul 30 21:49:00 2009 +0200
Use explicit guile-primitive forms in the macro expansion of dotimes and
dolist.
-----------------------------------------------------------------------
Summary of changes:
module/language/elisp/runtime/macro-slot.scm | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/module/language/elisp/runtime/macro-slot.scm
b/module/language/elisp/runtime/macro-slot.scm
index e74d749..5a308a1 100644
--- a/module/language/elisp/runtime/macro-slot.scm
+++ b/module/language/elisp/runtime/macro-slot.scm
@@ -121,9 +121,9 @@
(if (not (symbol? var))
(macro-error "expected symbol as dotimes variable"))
`(let ((,var 0))
- (while (< ,var ,count)
+ (while ((guile-primitive <) ,var ,count)
,@body
- (setq ,var (1+ ,var)))
+ (setq ,var ((guile-primitive 1+) ,var)))
,@(if (= (length args) 3)
(list (caddr args))
'()))))))
@@ -142,10 +142,11 @@
`(let (,var)
(without-void-checks (,tailvar)
(lexical-let ((,tailvar ,iter-list))
- (while (not (null ,tailvar))
- (setq ,var (car ,tailvar))
+ (while ((guile-primitive not)
+ ((guile-primitive null?) ,tailvar))
+ (setq ,var ((guile-primitive car) ,tailvar))
,@body
- (setq ,tailvar (cdr ,tailvar)))
+ (setq ,tailvar ((guile-primitive cdr) ,tailvar)))
,@(if (= (length args) 3)
(list (caddr args))
'())))))))))
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, elisp, updated. release_1-9-1-43-gbfd472a,
Daniel Kraft <=