summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLudovic Court`es2007-04-04 17:17:32 +0000
committerLudovic Court`es2007-04-04 17:17:32 +0000
commitcd13b7d4c8846f96c8d17cfcd09848b65a770929 (patch)
tree5928b595a67ea01b4e5c619e6df113d6b9cae87d /src
parent1ff9754b0fe07df42670baf32252d1bb0e7a6590 (diff)
parenta619f2d4c984af86bac0fdf8deb26ad7d72faaca (diff)
downloadskribilo-cd13b7d4c8846f96c8d17cfcd09848b65a770929.tar.gz
skribilo-cd13b7d4c8846f96c8d17cfcd09848b65a770929.tar.lz
skribilo-cd13b7d4c8846f96c8d17cfcd09848b65a770929.zip
Fixed `find-up'.
* src/guile/skribilo/ast.scm (find-up): Don't cons OBJ when it doesn't match PRED. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-86
Diffstat (limited to 'src')
-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))