summaryrefslogtreecommitdiff
path: root/src/guile
diff options
context:
space:
mode:
authorLudovic Court`es2007-04-04 16:15:21 +0000
committerLudovic Court`es2007-04-04 16:15:21 +0000
commita619f2d4c984af86bac0fdf8deb26ad7d72faaca (patch)
tree872ec3d251d9c0b170944e4820d12bbfef0e2d84 /src/guile
parent687bc143d793ad18144a97cf76ace0088b1a2425 (diff)
downloadskribilo-a619f2d4c984af86bac0fdf8deb26ad7d72faaca.tar.gz
skribilo-a619f2d4c984af86bac0fdf8deb26ad7d72faaca.tar.lz
skribilo-a619f2d4c984af86bac0fdf8deb26ad7d72faaca.zip
Fixed `find-up'.
* src/guile/skribilo/ast.scm (find-up): Don't cons OBJ when it doesn't match PRED. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-45
Diffstat (limited to 'src/guile')
-rw-r--r--src/guile/skribilo/ast.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guile/skribilo/ast.scm b/src/guile/skribilo/ast.scm
index 5146f75..534b832 100644
--- a/src/guile/skribilo/ast.scm
+++ b/src/guile/skribilo/ast.scm
@@ -580,7 +580,7 @@
((pred obj)
(loop (ast-parent obj) (cons obj res)))
(else
- (loop (ast-parent obj) (cons obj res))))))
+ (loop (ast-parent obj) res)))))
(define (find1-up pred obj)
(let loop ((obj obj))