emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/geiser-guile 3ba4ad4 242/284: Guile: font lock for all com


From: Philip Kaludercic
Subject: [nongnu] elpa/geiser-guile 3ba4ad4 242/284: Guile: font lock for all components of module names
Date: Sun, 1 Aug 2021 18:29:52 -0400 (EDT)

branch: elpa/geiser-guile
commit 3ba4ad466a577d8b6d468d7e7ad3c46be6896d53
Author: Jose Antonio Ortega Ruiz <jao@gnu.org>
Commit: Jose Antonio Ortega Ruiz <jao@gnu.org>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]