aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThien-Thi Nguyen2003-09-30 11:47:57 +0000
committerThien-Thi Nguyen2003-09-30 11:47:57 +0000
commitcb049c411e04f414a0854cd705cd299d111e5929 (patch)
tree3493f752adf1d8f25264412797efe28b27547e8b
parent7460e98023d53b4d85c94ccbfc8177588d52b29b (diff)
downloademacs-cb049c411e04f414a0854cd705cd299d111e5929.tar.gz
emacs-cb049c411e04f414a0854cd705cd299d111e5929.zip
(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.
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/progmodes/scheme.el6
2 files changed, 11 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bb27d39a4cd..e7e56bcbfb8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12003-09-30 Thien-Thi Nguyen <ttn@gnu.org>
2
3 * progmodes/scheme.el (scheme-mode-variables): When setting
4 `font-lock-defaults', also specify that "#" should
5 be interpreted with `word' syntax.
6 (scheme-font-lock-keywords-2): Also interpret "#:foo" as keyword.
7
12003-09-30 Lars Hansen <larsh@math.ku.dk> 82003-09-30 Lars Hansen <larsh@math.ku.dk>
2 9
3 * desktop.el: A lot of comments updated. 10 * desktop.el: A lot of comments updated.
@@ -16,7 +23,7 @@
16 for displaying ``clean'' output. 23 for displaying ``clean'' output.
17 (whitespace-buffer): Use `whitespace-clean-msg'. 24 (whitespace-buffer): Use `whitespace-clean-msg'.
18 (whitespace-global-mode): Fix typo. 25 (whitespace-global-mode): Fix typo.
19 26
202003-09-29 Thien-Thi Nguyen <ttn@gnu.org> 272003-09-29 Thien-Thi Nguyen <ttn@gnu.org>
21 28
22 * pcvs.el (cvs-mode-unmark-up): Move to goal column when done. 29 * pcvs.el (cvs-mode-unmark-up): Move to goal column when done.
diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el
index 8f20438d058..d85c2ba9db2 100644
--- a/lisp/progmodes/scheme.el
+++ b/lisp/progmodes/scheme.el
@@ -165,7 +165,7 @@
165 (setq font-lock-defaults 165 (setq font-lock-defaults
166 '((scheme-font-lock-keywords 166 '((scheme-font-lock-keywords
167 scheme-font-lock-keywords-1 scheme-font-lock-keywords-2) 167 scheme-font-lock-keywords-1 scheme-font-lock-keywords-2)
168 nil t (("+-*/.<>=!?$%_&~^:" . "w")) beginning-of-defun 168 nil t (("+-*/.<>=!?$%_&~^:#" . "w")) beginning-of-defun
169 (font-lock-mark-block-function . mark-defun) 169 (font-lock-mark-block-function . mark-defun)
170 (font-lock-syntactic-face-function . lisp-font-lock-syntactic-face-function)))) 170 (font-lock-syntactic-face-function . lisp-font-lock-syntactic-face-function))))
171 171
@@ -337,8 +337,8 @@ See `run-hooks'."
337 ;; David Fox <fox@graphics.cs.nyu.edu> for SOS/STklos class specifiers. 337 ;; David Fox <fox@graphics.cs.nyu.edu> for SOS/STklos class specifiers.
338 '("\\<<\\sw+>\\>" . font-lock-type-face) 338 '("\\<<\\sw+>\\>" . font-lock-type-face)
339 ;; 339 ;;
340 ;; Scheme `:' keywords as builtins. 340 ;; Scheme `:' and `#:' keywords as builtins.
341 '("\\<:\\sw+\\>" . font-lock-builtin-face) 341 '("\\<#?:\\sw+\\>" . font-lock-builtin-face)
342 ))) 342 )))
343 "Gaudy expressions to highlight in Scheme modes.") 343 "Gaudy expressions to highlight in Scheme modes.")
344 344