chiark
/
gitweb
/
~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
el/dot-emacs (mdw-fontify-rust): Defeat doc-comment highlighting properly.
[profile]
/
el
/
dot-emacs.el
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index fddcf78e3530de243737e63d426d639128a48def..911226b4513df7fae6d540285e350c095563325e 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-3389,7
+3389,8
@@
(defun mdw-fontify-rust ()
;; And anything else is punctuation.
(list "\\(\\s.\\|\\s(\\|\\s)\\|\\s\\\\|\\s/\\)"
'(0 mdw-punct-face)))
;; And anything else is punctuation.
(list "\\(\\s.\\|\\s(\\|\\s)\\|\\s\\\\|\\s/\\)"
'(0 mdw-punct-face)))
- font-lock-syntactic-face-function nil))
+ font-lock-syntactic-face-function
+ (default-value 'font-lock-syntactic-face-function)))
;; Hack key bindings.
(local-set-key [?{] 'mdw-self-insert-and-indent)
;; Hack key bindings.
(local-set-key [?{] 'mdw-self-insert-and-indent)