branch: elpa/geiser-guile
commit 3ba4ad466a577d8b6d468d7e7ad3c46be6896d53
Author: Jose Antonio Ortega Ruiz <[email protected]>
Commit: Jose Antonio Ortega Ruiz <[email protected]>
Guile: font lock for all components of module names
---
elisp/geiser-guile.el | 7 +++++--
1 file 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)