changeset 22709:5fc9fd384c5c

(scheme-font-lock-keywords-1): Fontify SCWM/Guile keywords starting with `define'.
author Richard M. Stallman <rms@gnu.org>
date Tue, 07 Jul 1998 19:27:40 +0000
parents b9ca5d9ba49c
children 0df26ec111fd
files lisp/progmodes/scheme.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/scheme.el	Tue Jul 07 08:24:39 1998 +0000
+++ b/lisp/progmodes/scheme.el	Tue Jul 07 19:27:40 1998 +0000
@@ -288,13 +288,15 @@
      ;;
      ;; Declarations.  Hannes Haug <hannes.haug@student.uni-tuebingen.de> says
      ;; this works for SOS, STklos, SCOOPS, Meroon and Tiny CLOS.
-     (list (concat "(\\(define\\("
+     (list (concat "(\\(define\\*?\\("
 		   ;; Function names.
-		   "\\(\\|-method\\|-generic\\(-procedure\\)?\\)\\|"
+		   "\\(\\|-public\\|-method\\|-generic\\(-procedure\\)?\\)\\|"
 		   ;; Macro names, as variable names.  A bit dubious, this.
 		   "\\(-syntax\\)\\|"
 		   ;; Class names.
 		   "-class"
+                   ;; Guile modules.
+                   "\\|-module"
 		   "\\)\\)\\>"
 		   ;; Any whitespace and declared object.
 		   "[ \t]*(?"