# HG changeset patch # User Thien-Thi Nguyen # Date 1064922373 0 # Node ID a4cf4569e55752f1a983235b5813c7705da6ee44 # Parent 0b5efec3356509d598f6a638c4886d2d7efc1485 (scheme-mode-variables): When setting `font-lock-defaults', also specify that "#" should be interpreted with `word' syntax. (scheme-font-lock-keywords-2): Also interpret "#:foo" as keyword. diff -r 0b5efec33565 -r a4cf4569e557 lisp/progmodes/scheme.el --- a/lisp/progmodes/scheme.el Tue Sep 30 07:24:40 2003 +0000 +++ b/lisp/progmodes/scheme.el Tue Sep 30 11:46:13 2003 +0000 @@ -165,7 +165,7 @@ (setq font-lock-defaults '((scheme-font-lock-keywords scheme-font-lock-keywords-1 scheme-font-lock-keywords-2) - nil t (("+-*/.<>=!?$%_&~^:" . "w")) beginning-of-defun + nil t (("+-*/.<>=!?$%_&~^:#" . "w")) beginning-of-defun (font-lock-mark-block-function . mark-defun) (font-lock-syntactic-face-function . lisp-font-lock-syntactic-face-function)))) @@ -337,8 +337,8 @@ ;; David Fox for SOS/STklos class specifiers. '("\\<<\\sw+>\\>" . font-lock-type-face) ;; - ;; Scheme `:' keywords as builtins. - '("\\<:\\sw+\\>" . font-lock-builtin-face) + ;; Scheme `:' and `#:' keywords as builtins. + '("\\<#?:\\sw+\\>" . font-lock-builtin-face) ))) "Gaudy expressions to highlight in Scheme modes.")