chiark / gitweb /
el/dot-emacs.el: New face `mdw-trivial-face'.
authorMark Wooding <mwooding@good.com>
Thu, 20 Feb 2014 13:47:34 +0000 (13:47 +0000)
committerMark Wooding <mwooding@good.com>
Thu, 20 Feb 2014 15:48:42 +0000 (15:48 +0000)
It does nothing.  It's just there to mark a piece of program text as
having been processed by the font-lock machinery so that nothing else
tries to molest it.
fold me

dot/emacs
el/dot-emacs.el

index ef44b02e032b5e2d2cc8b12d030ab91252206aec..f039bab552cdb3fced9e3f248ad31d8d64aca50c 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
   (add-hook 'apcalc-mode-hook 'mdw-fontify-apcalc t)
 
   (add-hook 'java-mode-hook 'mdw-fontify-java t)
+  (add-hook 'scala-mode-hook 'mdw-fontify-scala t)
   (add-hook 'js-mode-hook 'mdw-fontify-javascript t)
   (add-hook 'csharp-mode-hook 'mdw-fontify-csharp t)
   (add-hook 'fsharp-mode-hook 'mdw-fontify-fsharp t)
index 6a9f108895561e48d80146da9b2d584b392c6118..a463c10a88af35bcfffec71b7edffcda8d4d7789 100644 (file)
@@ -917,6 +917,7 @@ (mdw-define-face mdw-punct-face
   (((type tty)) :foreground "yellow") (t :foreground "burlywood2"))
 (mdw-define-face mdw-number-face
   (t :foreground "yellow"))
+(mdw-define-face mdw-trivial-face)
 (mdw-define-face font-lock-function-name-face
   (t :slant italic))
 (mdw-define-face font-lock-keyword-face