diff options
author | Ludovic Court`es | 2007-04-04 17:17:32 +0000 |
---|---|---|
committer | Ludovic Court`es | 2007-04-04 17:17:32 +0000 |
commit | cd13b7d4c8846f96c8d17cfcd09848b65a770929 (patch) | |
tree | 5928b595a67ea01b4e5c619e6df113d6b9cae87d /src/guile | |
parent | 1ff9754b0fe07df42670baf32252d1bb0e7a6590 (diff) | |
parent | a619f2d4c984af86bac0fdf8deb26ad7d72faaca (diff) | |
download | skribilo-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/guile')
-rw-r--r-- | src/guile/skribilo/ast.scm | 2 |
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)) |