From 405ff5eaab179ba3162f3506c0d5af0e0f6ff04f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 7 Jul 1998 19:27:40 +0000 Subject: [PATCH] (scheme-font-lock-keywords-1): Fontify SCWM/Guile keywords starting with `define'. --- lisp/progmodes/scheme.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el index 2da6003a84e..cc7b0b62601 100644 --- a/lisp/progmodes/scheme.el +++ b/lisp/progmodes/scheme.el @@ -288,13 +288,15 @@ See `run-hooks'." ;; ;; Declarations. Hannes Haug 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]*(?" -- 2.39.5