chiark / gitweb /
el/dot-emacs.el: Fontify Dylan keywords in italics, not boldface.
[profile] / el / dot-emacs.el
index ae502482e96fe97e56ab7a536cecd4f91848f80e..b24e50c5b7ef5ba4ac7c32583fc9199f6e99c8f2 100644 (file)
@@ -2074,11 +2074,11 @@ (defun mdw-fontify-dylan ()
                          "t" "f")))
     (setq font-lock-keywords
          (list (list (concat "\\<\\(" dylan-keywords
-                             "\\|" (concat "with\\(out\\)?-" word)
-                             "\\|" (concat word ":")
+                             "\\|" "with\\(out\\)?-" word
                              "\\)\\>")
                      '(0 font-lock-keyword-face))
-               (list (concat "#\\(" sharp-keywords "\\)\\>")
+               (list (concat "\\<" word ":" "\\|"
+                             "#\\(" sharp-keywords "\\)\\>")
                      '(0 font-lock-variable-name-face))
                (list (concat "\\("
                              "\\([-+]\\|\\<\\)[0-9]+" "\\("