From 86de6d9453a9d747bddadd20fce67e58c4dbe8c7 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 8 Mar 2010 00:27:57 +0100 Subject: Factorize encoding twiddling in `set-correct-file-encoding!'. * doc/modules/skribilo/documentation/api.scm (api-search-definition): Call `set-correct-file-encoding!'. * doc/user/src/outline.txt (Author): Remove accent from last name, as a temporary hack. * doc/user/syntax.skb: Call `set-correct-file-encoding!' in the `outline' syntax example. * doc/user/user.skb: Use `(skribilo utils syntax)'. * src/guile/skribilo.scm (skribilo): Replace encoding twiddling with `set-correct-file-encoding!' call. * src/guile/skribilo/evaluator.scm (load-document, include-document): Likewise. * src/guile/skribilo/source.scm (source-read-lines): Call `set-correct-file-encoding!'. (source-read-definition): Likewise. * src/guile/skribilo/utils/syntax.scm (set-correct-file-encoding!): New macro. --- doc/user/user.skb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/user/user.skb') diff --git a/doc/user/user.skb b/doc/user/user.skb index 86eda21..53b2e8a 100644 --- a/doc/user/user.skb +++ b/doc/user/user.skb @@ -50,7 +50,8 @@ (skribilo evaluator) (skribilo config) (skribilo index) - (skribilo lib)) ;; for `skribe-warning' + (skribilo lib) ;; for `skribe-warning' + (skribilo utils syntax)) ;; `set-correct-file-encoding!' ;*---------------------------------------------------------------------*/ ;* SRFIs */ -- cgit v1.2.3