]> code.delx.au - gnu-emacs/commitdiff
Separate Kernel methods with required args from those without
authorBozhidar Batsov <bozhidar@batsov.com>
Tue, 17 Mar 2015 21:40:20 +0000 (23:40 +0200)
committerBozhidar Batsov <bozhidar@batsov.com>
Tue, 17 Mar 2015 21:40:20 +0000 (23:40 +0200)
lisp/progmodes/ruby-mode.el

index 40204faa379dfb8f7b879f7d7c6266ebe3c297cd..921ca314004973ef6e4e1ec607e7ccf925cb3506 100644 (file)
@@ -2069,25 +2069,14 @@ See `font-lock-syntax-table'.")
        ruby-font-lock-keyword-beg-re
        (regexp-opt
         '( ;; built-in methods on Kernel
-          "abort"
-          "at_exit"
           "autoload"
           "autoload?"
-          "binding"
-          "block_given?"
-          "callcc"
-          "caller"
           "catch"
           "eval"
           "exec"
-          "exit"
-          "exit!"
-          "fork"
           "format"
-          "global_variables"
           "lambda"
           "load"
-          "local_variables"
           "loop"
           "open"
           "p"
@@ -2098,10 +2087,8 @@ See `font-lock-syntax-table'.")
           "puts"
           "require"
           "require_relative"
-          "sleep"
           "spawn"
           "sprintf"
-          "srand"
           "syscall"
           "system"
           "throw"
@@ -2140,10 +2127,14 @@ See `font-lock-syntax-table'.")
           "at_exit"
           "binding"
           "block_given?"
+          "callcc"
           "caller"
           "exit"
           "exit!"
           "fail"
+          "fork"
+          "global_variables"
+          "local_variables"
           "private"
           "protected"
           "public"