Commit 1f44df94 authored by Dmitry Gutov's avatar Dmitry Gutov

* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify

multiple adjacent negation chars.

Fixes: debbugs:17004
parent 0d71dfb3
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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment