diff options
| author | Bozhidar Batsov | 2015-03-17 23:40:20 +0200 |
|---|---|---|
| committer | Bozhidar Batsov | 2015-03-17 23:40:20 +0200 |
| commit | 5b77d81840b2dff821abefb2adb1f7f2f495be62 (patch) | |
| tree | 50b3137051dff85a4a1e3a3742929edb0f35f5c5 | |
| parent | 771978259eb6b1caf0a37554c006e42d7ab802c6 (diff) | |
| download | emacs-5b77d81840b2dff821abefb2adb1f7f2f495be62.tar.gz emacs-5b77d81840b2dff821abefb2adb1f7f2f495be62.zip | |
Separate Kernel methods with required args from those without
| -rw-r--r-- | 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 40204faa379..921ca314004 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -2069,25 +2069,14 @@ See `font-lock-syntax-table'.") | |||
| 2069 | ruby-font-lock-keyword-beg-re | 2069 | ruby-font-lock-keyword-beg-re |
| 2070 | (regexp-opt | 2070 | (regexp-opt |
| 2071 | '( ;; built-in methods on Kernel | 2071 | '( ;; built-in methods on Kernel |
| 2072 | "abort" | ||
| 2073 | "at_exit" | ||
| 2074 | "autoload" | 2072 | "autoload" |
| 2075 | "autoload?" | 2073 | "autoload?" |
| 2076 | "binding" | ||
| 2077 | "block_given?" | ||
| 2078 | "callcc" | ||
| 2079 | "caller" | ||
| 2080 | "catch" | 2074 | "catch" |
| 2081 | "eval" | 2075 | "eval" |
| 2082 | "exec" | 2076 | "exec" |
| 2083 | "exit" | ||
| 2084 | "exit!" | ||
| 2085 | "fork" | ||
| 2086 | "format" | 2077 | "format" |
| 2087 | "global_variables" | ||
| 2088 | "lambda" | 2078 | "lambda" |
| 2089 | "load" | 2079 | "load" |
| 2090 | "local_variables" | ||
| 2091 | "loop" | 2080 | "loop" |
| 2092 | "open" | 2081 | "open" |
| 2093 | "p" | 2082 | "p" |
| @@ -2098,10 +2087,8 @@ See `font-lock-syntax-table'.") | |||
| 2098 | "puts" | 2087 | "puts" |
| 2099 | "require" | 2088 | "require" |
| 2100 | "require_relative" | 2089 | "require_relative" |
| 2101 | "sleep" | ||
| 2102 | "spawn" | 2090 | "spawn" |
| 2103 | "sprintf" | 2091 | "sprintf" |
| 2104 | "srand" | ||
| 2105 | "syscall" | 2092 | "syscall" |
| 2106 | "system" | 2093 | "system" |
| 2107 | "throw" | 2094 | "throw" |
| @@ -2140,10 +2127,14 @@ See `font-lock-syntax-table'.") | |||
| 2140 | "at_exit" | 2127 | "at_exit" |
| 2141 | "binding" | 2128 | "binding" |
| 2142 | "block_given?" | 2129 | "block_given?" |
| 2130 | "callcc" | ||
| 2143 | "caller" | 2131 | "caller" |
| 2144 | "exit" | 2132 | "exit" |
| 2145 | "exit!" | 2133 | "exit!" |
| 2146 | "fail" | 2134 | "fail" |
| 2135 | "fork" | ||
| 2136 | "global_variables" | ||
| 2137 | "local_variables" | ||
| 2147 | "private" | 2138 | "private" |
| 2148 | "protected" | 2139 | "protected" |
| 2149 | "public" | 2140 | "public" |