From: Dmitry Gutov Date: Sat, 22 Jun 2013 13:25:43 +0000 (+0400) Subject: * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch', X-Git-Url: http://git.hcoop.net/bpt/emacs.git/commitdiff_plain/12adebe94e4026ce2fb961f87a5790ec7693ae94 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch', add some more keyword-like methods. http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ec5e91005e..4c41e71222 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2013-06-22 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch', + add some more keyword-like methods. + http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html + 2013-06-22 Juanma Barranquero * bs.el (bs-buffer-show-mark): Make defvar-local. diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 0755afc285..ab5634e527 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -1735,7 +1735,6 @@ See `font-lock-syntax-table'.") "begin" "break" "case" - "catch" "class" "def" "defined?" @@ -1770,14 +1769,28 @@ See `font-lock-syntax-table'.") (regexp-opt '("alias_method" "autoload" + "attr" + "attr_accessor" + "attr_reader" + "attr_writer" + "catch" + "define_method" + "extend" + "fail" + "include" + "lambda" + "loop" "module_function" "private" + "proc" "protected" "public" "raise" + "refine" "require" "require_relative" - "throw") + "throw" + "using") 'symbols) "\\)") 2