summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2014-06-03 03:10:23 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2014-06-03 03:10:23 +0200
commit3ba4ad466a577d8b6d468d7e7ad3c46be6896d53 (patch)
treede74c6a974b13f155bcba10c37449955f46f3c46
parent362354d4dca7809c79b37873ed2da05cbdcf459b (diff)
downloadgeiser-guile-3ba4ad466a577d8b6d468d7e7ad3c46be6896d53.tar.gz
geiser-guile-3ba4ad466a577d8b6d468d7e7ad3c46be6896d53.tar.bz2
Guile: font lock for all components of module names
-rw-r--r--elisp/geiser-guile.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el
index 78ceb83..fbe6075 100644
--- a/elisp/geiser-guile.el
+++ b/elisp/geiser-guile.el
@@ -1,6 +1,6 @@
;; geiser-guile.el -- guile's implementation of the geiser protocols
-;; Copyright (C) 2009, 2010, 2011, 2012, 2013 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014 Jose Antonio Ortega Ruiz
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
@@ -254,7 +254,10 @@ This function uses `geiser-guile-init-file' if it exists."
. 1)))
`((,(rx "(" (group "define-once") eow (* space) (? (group (+ word))))
(1 font-lock-keyword-face)
- (2 font-lock-variable-name-face nil t)))))
+ (2 font-lock-variable-name-face nil t))
+ ("(\\(define-module\\) +(\\([^)]+\\))"
+ (1 font-lock-keyword-face)
+ (2 font-lock-type-face nil t)))))
(geiser-syntax--scheme-indent
(c-declare 0)