[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 5b77d81: Separate Kernel methods with required args
From: |
Bozhidar Batsov |
Subject: |
[Emacs-diffs] master 5b77d81: Separate Kernel methods with required args from those without |
Date: |
Tue, 17 Mar 2015 21:42:02 +0000 |
branch: master
commit 5b77d81840b2dff821abefb2adb1f7f2f495be62
Author: Bozhidar Batsov <address@hidden>
Commit: Bozhidar Batsov <address@hidden>
Separate Kernel methods with required args from those without
---
lisp/progmodes/ruby-mode.el | 17 ++++-------------
1 files changed, 4 insertions(+), 13 deletions(-)
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 40204fa..921ca31 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"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 5b77d81: Separate Kernel methods with required args from those without,
Bozhidar Batsov <=