* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 3 Feb 2014 15:59:39 +0000 (17:59 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 3 Feb 2014 15:59:39 +0000 (17:59 +0200)
`protected' and `public' can also be called without arguments.

lisp/ChangeLog
lisp/progmodes/ruby-mode.el

index 77a81cf..7c20472 100644 (file)
@@ -1,3 +1,8 @@
+2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
+       `protected' and `public' can also be called without arguments.
+
 2014-02-03  Glenn Morris  <rgm@gnu.org>
 
        * register.el (window-configuration-to-register)
index 22de9a8..96835fc 100644 (file)
@@ -2059,9 +2059,6 @@ See `font-lock-syntax-table'.")
           "include"
           "module_function"
           "prepend"
-          "private"
-          "protected"
-          "public"
           "refine"
           "using")
         'symbols))
@@ -2082,6 +2079,9 @@ See `font-lock-syntax-table'.")
           "exit"
           "exit!"
           "fail"
+          "private"
+          "protected"
+          "public"
           "raise"
           "rand"
           "readline"