el/dot-emacs.el: Fix Scala keywords.
authorMark Wooding <mwooding@good.com>
Wed, 26 Feb 2014 16:03:12 +0000 (16:03 +0000)
committerMark Wooding <mwooding@good.com>
Wed, 26 Feb 2014 16:03:15 +0000 (16:03 +0000)
Move `super' and `this' to the constants list.  They fit better here, I
think.  And add `private' which was unaccountably missing.

el/dot-emacs.el

index f8141dc..e341b93 100644 (file)
@@ -1501,11 +1501,11 @@ doesn't match any of the regular expressions in
         (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