From 6da8227cfa5bc7f428346e78d028a83a385f908f Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Mon, 3 Feb 2014 17:59:39 +0200 Subject: [PATCH] * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): `private', `protected' and `public' can also be called without arguments. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/ruby-mode.el | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 77a81cfa3d..7c20472656 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-02-03 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private', + `protected' and `public' can also be called without arguments. + 2014-02-03 Glenn Morris * register.el (window-configuration-to-register) diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 22de9a83f2..96835fc989 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -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" -- 2.20.1