From 5b77d81840b2dff821abefb2adb1f7f2f495be62 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Tue, 17 Mar 2015 23:40:20 +0200 Subject: [PATCH] Separate Kernel methods with required args from those without --- lisp/progmodes/ruby-mode.el | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 40204faa379..921ca314004 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -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" -- 2.39.2