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:
96f196d
)
el/dot-emacs.el (mdw-fontify-rust): Highlight `%' properly.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 14 Feb 2019 13:08:26 +0000
(13:08 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 14 Feb 2019 13:08:26 +0000
(13:08 +0000)
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index 19b1f382110b92ebc4fd768cb5a799aec3d46e40..f797b17bf30dbe2370721ff5ff1a0899e7cf934d 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-2649,6
+2649,7
@@
(defun mdw-self-insert-and-indent (count)
(defun mdw-fontify-rust ()
;; Hack syntax categories.
(defun mdw-fontify-rust ()
;; Hack syntax categories.
+ (modify-syntax-entry ?% ".")
(modify-syntax-entry ?= ".")
;; Fontify keywords and things.
(modify-syntax-entry ?= ".")
;; Fontify keywords and things.