diff options
| author | Dmitry Gutov | 2014-06-16 06:33:29 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2014-06-16 06:33:29 +0300 |
| commit | 6a7faa16644364dc86e5b47c86be803664be94f7 (patch) | |
| tree | fa0ce5922306fac9ab9d342f1b23c098a072c58a /lisp/progmodes/ruby-mode.el | |
| parent | dce5a71fdb04844c20382db8841e917877ae2b0f (diff) | |
| download | emacs-6a7faa16644364dc86e5b47c86be803664be94f7.tar.gz emacs-6a7faa16644364dc86e5b47c86be803664be94f7.zip | |
Fix bug#17732
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
`!' in `!~' with `font-lock-negation-char-face'.
Diffstat (limited to 'lisp/progmodes/ruby-mode.el')
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 74edf7a680f..3c20279600e 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -2152,7 +2152,7 @@ See `font-lock-syntax-table'.") | |||
| 2152 | (ruby-match-expression-expansion | 2152 | (ruby-match-expression-expansion |
| 2153 | 2 font-lock-variable-name-face t) | 2153 | 2 font-lock-variable-name-face t) |
| 2154 | ;; Negation char. | 2154 | ;; Negation char. |
| 2155 | ("\\(?:^\\|[^[:alnum:]_]\\)\\(!+\\)[^=]" | 2155 | ("\\(?:^\\|[^[:alnum:]_]\\)\\(!+\\)[^=~]" |
| 2156 | 1 font-lock-negation-char-face) | 2156 | 1 font-lock-negation-char-face) |
| 2157 | ;; Character literals. | 2157 | ;; Character literals. |
| 2158 | ;; FIXME: Support longer escape sequences. | 2158 | ;; FIXME: Support longer escape sequences. |