Fix bug#17732
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify `!' in `!~' with `font-lock-negation-char-face'.
This commit is contained in:
parent
dce5a71fdb
commit
6a7faa1664
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-06-16 Dmitry <dgutov@yandex.ru>
|
||||
|
||||
* progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
|
||||
`!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
|
||||
|
||||
2014-06-15 Michael Albinus <michael.albinus@gmx.de>
|
||||
|
||||
* net/dbus.el (dbus-call-method): Push only non D-Bus events into
|
||||
|
|
|
@ -2152,7 +2152,7 @@ See `font-lock-syntax-table'.")
|
|||
(ruby-match-expression-expansion
|
||||
2 font-lock-variable-name-face t)
|
||||
;; Negation char.
|
||||
("\\(?:^\\|[^[:alnum:]_]\\)\\(!+\\)[^=]"
|
||||
("\\(?:^\\|[^[:alnum:]_]\\)\\(!+\\)[^=~]"
|
||||
1 font-lock-negation-char-face)
|
||||
;; Character literals.
|
||||
;; FIXME: Support longer escape sequences.
|
||||
|
|
Loading…
Add table
Reference in a new issue