summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtes2008-02-13 11:05:22 +0100
committerLudovic Courtes2008-02-13 11:05:22 +0100
commitdc44d867345ddff458426f6d5dc523e19fe9c767 (patch)
tree0b076bd1ecd2c0ab583669b4794677168e8f68bc
parent5f9cc5155d7b99a9ad68d55c996fb85048a03000 (diff)
downloadskribilo-dc44d867345ddff458426f6d5dc523e19fe9c767.tar.gz
skribilo-dc44d867345ddff458426f6d5dc523e19fe9c767.tar.lz
skribilo-dc44d867345ddff458426f6d5dc523e19fe9c767.zip
Emacs mode: Font-lock comments.
-rw-r--r--emacs/skribe.el.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/emacs/skribe.el.in b/emacs/skribe.el.in
index e91a6ea..d8ee590 100644
--- a/emacs/skribe.el.in
+++ b/emacs/skribe.el.in
@@ -121,7 +121,12 @@ Set this to nil if you don't want a modeline indicator."
'font-lock-function-name-face)
(list ",(\\([^ \n()]+\\)"
1
- 'font-lock-comment-delimiter-face))
+ 'font-lock-comment-delimiter-face)
+ (list ";.*$"
+ 1
+ 'font-lock-comment-face)
+ (list "#;\\(([^)]*)\\|\\[[^\\]]*\\]\\|[a-zA-Z0-9]*\\)" ;; SRFI-62 comments
+ 'font-lock-comment-face))
"*The Skribe font-lock specification."
:group 'skribe)