diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2014-06-03 03:10:23 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2014-06-03 03:10:23 +0200 |
commit | f7c97ae42913e22df4532aa820a07751a5e8c71e (patch) | |
tree | 61367c7beb1c521ae418765c61ce1e8eda4a9aa3 /elisp | |
parent | f55181bc0f231ca54ad40267aa2f75e4e5cf4055 (diff) | |
download | geiser-chez-f7c97ae42913e22df4532aa820a07751a5e8c71e.tar.gz geiser-chez-f7c97ae42913e22df4532aa820a07751a5e8c71e.tar.bz2 |
Guile: font lock for all components of module names
Diffstat (limited to 'elisp')
-rw-r--r-- | elisp/geiser-guile.el | 7 |
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) |