(scheme-font-lock-keywords-1): Fontify SCWM/Guile
authorRichard M. Stallman <rms@gnu.org>
Tue, 7 Jul 1998 19:27:40 +0000 (19:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 7 Jul 1998 19:27:40 +0000 (19:27 +0000)
       keywords starting with `define'.

lisp/progmodes/scheme.el

index 2da6003..cc7b0b6 100644 (file)
@@ -288,13 +288,15 @@ See `run-hooks'."
      ;;
      ;; 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]*(?"