aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2014-02-03 17:59:39 +0200
committerDmitry Gutov2014-02-03 17:59:39 +0200
commit6da8227cfa5bc7f428346e78d028a83a385f908f (patch)
treef3cb62b2d8a51acec0b4615974cb29f2c68e4cf2
parent9cad4576df88d17c2234c8f04f05dac279e57b22 (diff)
downloademacs-6da8227cfa5bc7f428346e78d028a83a385f908f.tar.gz
emacs-6da8227cfa5bc7f428346e78d028a83a385f908f.zip
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
`protected' and `public' can also be called without arguments.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/ruby-mode.el6
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 77a81cfa3da..7c204726568 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4 `protected' and `public' can also be called without arguments.
5
12014-02-03 Glenn Morris <rgm@gnu.org> 62014-02-03 Glenn Morris <rgm@gnu.org>
2 7
3 * register.el (window-configuration-to-register) 8 * register.el (window-configuration-to-register)
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 22de9a83f2b..96835fc9892 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -2059,9 +2059,6 @@ See `font-lock-syntax-table'.")
2059 "include" 2059 "include"
2060 "module_function" 2060 "module_function"
2061 "prepend" 2061 "prepend"
2062 "private"
2063 "protected"
2064 "public"
2065 "refine" 2062 "refine"
2066 "using") 2063 "using")
2067 'symbols)) 2064 'symbols))
@@ -2082,6 +2079,9 @@ See `font-lock-syntax-table'.")
2082 "exit" 2079 "exit"
2083 "exit!" 2080 "exit!"
2084 "fail" 2081 "fail"
2082 "private"
2083 "protected"
2084 "public"
2085 "raise" 2085 "raise"
2086 "rand" 2086 "rand"
2087 "readline" 2087 "readline"