el/dot-emacs.el: Don't highlight Rust doc comments specially.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 23 Apr 2023 22:38:51 +0000 (23:38 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 23 Apr 2023 22:54:29 +0000 (23:54 +0100)
It's just bletcherous.

el/dot-emacs.el

index 087c211..dd52be1 100644 (file)
@@ -3190,7 +3190,8 @@ name, as a symbol."
 
             ;; And anything else is punctuation.
             (list "\\(\\s.\\|\\s(\\|\\s)\\|\\s\\\\|\\s/\\)"
-                  '(0 mdw-punct-face)))))
+                  '(0 mdw-punct-face)))
+           font-lock-syntactic-face-function . nil))
 
   ;; Hack key bindings.
   (local-set-key [?{] 'mdw-self-insert-and-indent)