emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r113136: * lisp/progmodes/ruby-mode.el (ruby-font-lo


From: Dmitry Gutov
Subject: [Emacs-diffs] trunk r113136: * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
Date: Sat, 22 Jun 2013 13:26:05 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113136
revision-id: address@hidden
parent: address@hidden
committer: Dmitry Gutov <address@hidden>
branch nick: trunk
timestamp: Sat 2013-06-22 17:25:43 +0400
message:
  * 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
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/progmodes/ruby-mode.el    
rubymode.el-20091113204419-o5vbwnq5f7feedwu-8804
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-06-22 02:33:33 +0000
+++ b/lisp/ChangeLog    2013-06-22 13:25:43 +0000
@@ -1,3 +1,9 @@
+2013-06-22  Dmitry Gutov  <address@hidden>
+
+       * 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  <address@hidden>
 
        * bs.el (bs-buffer-show-mark): Make defvar-local.

=== modified file 'lisp/progmodes/ruby-mode.el'
--- a/lisp/progmodes/ruby-mode.el       2013-06-22 00:11:24 +0000
+++ b/lisp/progmodes/ruby-mode.el       2013-06-22 13:25:43 +0000
@@ -1735,7 +1735,6 @@
              "begin"
              "break"
              "case"
-             "catch"
              "class"
              "def"
              "defined?"
@@ -1770,14 +1769,28 @@
           (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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]