diff options
Diffstat (limited to 'lisp/progmodes/ruby-mode.el')
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 4307109f654..4abc413f636 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -2053,8 +2053,9 @@ See `font-lock-syntax-table'.") | |||
| 2053 | "rescue" | 2053 | "rescue" |
| 2054 | "retry" | 2054 | "retry" |
| 2055 | "return" | 2055 | "return" |
| 2056 | "then" | 2056 | "self" |
| 2057 | "super" | 2057 | "super" |
| 2058 | "then" | ||
| 2058 | "unless" | 2059 | "unless" |
| 2059 | "undef" | 2060 | "undef" |
| 2060 | "until" | 2061 | "until" |
| @@ -2149,8 +2150,8 @@ See `font-lock-syntax-table'.") | |||
| 2149 | "\\_<\\(?:BEGIN\\|END\\)\\_>\\|^__END__$" | 2150 | "\\_<\\(?:BEGIN\\|END\\)\\_>\\|^__END__$" |
| 2150 | ;; Variables. | 2151 | ;; Variables. |
| 2151 | (,(concat ruby-font-lock-keyword-beg-re | 2152 | (,(concat ruby-font-lock-keyword-beg-re |
| 2152 | "\\_<\\(nil\\|self\\|true\\|false\\)\\_>") | 2153 | "\\_<\\(nil\\|true\\|false\\)\\_>") |
| 2153 | 1 font-lock-variable-name-face) | 2154 | 1 font-lock-constant-face) |
| 2154 | ;; Keywords that evaluate to certain values. | 2155 | ;; Keywords that evaluate to certain values. |
| 2155 | ("\\_<__\\(?:LINE\\|ENCODING\\|FILE\\)__\\_>" | 2156 | ("\\_<__\\(?:LINE\\|ENCODING\\|FILE\\)__\\_>" |
| 2156 | (0 font-lock-builtin-face)) | 2157 | (0 font-lock-builtin-face)) |