* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify
multiple adjacent negation chars. Fixes: debbugs:17004
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
|
||||
|
||||
* progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify
|
||||
multiple adjacent negation chars. (Bug#17004)
|
||||
|
||||
2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
|
||||
|
||||
* emacs-lisp/package.el (package--prepare-dependencies):
|
||||
|
||||
@@ -2127,7 +2127,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.
|
||||
|
||||
Reference in New Issue
Block a user