]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 22 Jun 2013 13:25:43 +0000 (17:25 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 22 Jun 2013 13:25:43 +0000 (17:25 +0400)
add some more keyword-like methods.
http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html

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

index ec5e91005eca3dad6511342f905190aaf5f95372..4c41e712226f7423ae87aeb8490a0c8ac515f00c 100644 (file)
@@ -1,3 +1,9 @@
+2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * 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  <lekktu@gmail.com>
 
        * bs.el (bs-buffer-show-mark): Make defvar-local.
index 0755afc285f818ed630b832179434559ae4f40e0..ab5634e52743cfe7bd004cf8ff5bd029b0ed7309 100644 (file)
@@ -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