chiark / gitweb /
el/dot-emacs.el: Fix Scala keywords.
[profile] / el / dot-emacs.el
index f8141dce8ae6770e265aeb4068d2f89c1203182d..e341b933cbb247f85483796e2a28629a6c804524 100644 (file)
@@ -1501,11 +1501,11 @@ (defun mdw-fontify-scala ()
         (mdw-regexps "abstract" "case" "catch" "class" "def" "do" "else"
                      "extends" "final" "finally" "for" "forSome" "if"
                      "implicit" "import" "lazy" "match" "new" "object"
-                     "override" "package" "protected" "return" "sealed"
-                     "super" "this" "throw" "trait" "try" "type" "val"
+                     "override" "package" "private" "protected" "return"
+                     "sealed" "throw" "trait" "try" "type" "val"
                      "var" "while" "with" "yield"))
        (scala-constants
-        (mdw-regexps "false" "null" "true"))
+        (mdw-regexps "false" "null" "super" "this" "true"))
        (punctuation "\\s.\\|\\s(\\|\\s)\\|\\s\\\\|\\s/"))
 
     (setq font-lock-keywords