summaryrefslogtreecommitdiff
path: root/ccwl/skribilo.scm
diff options
context:
space:
mode:
authorArun Isaac2021-06-28 17:16:37 +0530
committerArun Isaac2021-06-28 17:16:37 +0530
commitbd42784f5eceec7d876b4fdca67b24a08f1ef23a (patch)
tree7ab344d21ba350dc71304c313704f5d20d00cf2f /ccwl/skribilo.scm
parent6de843c2d9d790f8fb1ed5aac1a139c335360bbf (diff)
downloadccwl-bd42784f5eceec7d876b4fdca67b24a08f1ef23a.tar.gz
ccwl-bd42784f5eceec7d876b4fdca67b24a08f1ef23a.tar.lz
ccwl-bd42784f5eceec7d876b4fdca67b24a08f1ef23a.zip
ccwl: Fix indentation.
* ccwl/skribilo.scm (sexp-file-lines): Fix indentation.
Diffstat (limited to 'ccwl/skribilo.scm')
-rw-r--r--ccwl/skribilo.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/ccwl/skribilo.scm b/ccwl/skribilo.scm
index 0c08a31..3420ba8 100644
--- a/ccwl/skribilo.scm
+++ b/ccwl/skribilo.scm
@@ -98,14 +98,14 @@ are found, error out."
(substring str 0 position)))
(define (sexp-file-lines file regexp)
- "Return (START . END) where START is the start of the match to
+ "Return (START . END) where START is the start of the match to
REGEXP in STR and END is the end of the sexp beginning at START. START
and END are line numbers indexed from 1."
- (let ((str (call-with-input-file file get-string-all)))
- (match (sexp-position str regexp)
- ((start . end)
- (cons (position->line-number str start)
- (position->line-number str end))))))
+ (let ((str (call-with-input-file file get-string-all)))
+ (match (sexp-position str regexp)
+ ((start . end)
+ (cons (position->line-number str start)
+ (position->line-number str end))))))
(define (source-ref file regexp text)
(call-with-input-file file