chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5232201
)
el/dot-emacs.el: Don't highlight Rust doc comments specially.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 23 Apr 2023 22:38:51 +0000
(23:38 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 23 Apr 2023 22:54:29 +0000
(23:54 +0100)
It's just bletcherous.
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index 087c211c15c2f170b198fac5abc6e309ed0beeaf..dd52be10bf090d81fce6d41c66f823d0d2a0253d 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-3190,7
+3190,8
@@
(defun mdw-fontify-rust ()
;; 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)