chiark / gitweb /
el/dot-emacs.el (mdw-fontify-rust): Highlight `%' properly.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 14 Feb 2019 13:08:26 +0000 (13:08 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 14 Feb 2019 13:08:26 +0000 (13:08 +0000)
el/dot-emacs.el

index 19b1f382110b92ebc4fd768cb5a799aec3d46e40..f797b17bf30dbe2370721ff5ff1a0899e7cf934d 100644 (file)
@@ -2649,6 +2649,7 @@ (defun mdw-self-insert-and-indent (count)
 (defun mdw-fontify-rust ()
 
   ;; Hack syntax categories.
+  (modify-syntax-entry ?% ".")
   (modify-syntax-entry ?= ".")
 
   ;; Fontify keywords and things.