summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2021-12-16 08:41:54 -0500
committerDavid Thompson <dthompson2@worcester.edu>2021-12-16 08:41:54 -0500
commit5328cd46d0db93864e109a3f1a8e9ab3c71ca533 (patch)
tree7cadb1af87029c2041b974548b53b7720208b409
parent2e1377c06cf741b4e618c186a4fa8af9c33f319a (diff)
Fix errors in guile-syntax-highlight example.
-rw-r--r--projects.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/projects.scm b/projects.scm
index e0c61b0..5d9dc57 100644
--- a/projects.scm
+++ b/projects.scm
@@ -149,14 +149,14 @@ rendering."))
;; Get raw highlights list.
(define highlighted-code
- (highlight scheme-highlighter code))
+ (highlight lex-scheme code))
;; Convert to SXML.
(define highlighted-sxml
(highlights->sxml highlighted-code))
;; Write HTML to stdout.
-(display (sxml->xml highlighted-sxml))
+(sxml->xml highlighted-sxml)
(newline)
")
#:requirements '("GNU Guile >= 2.0"