mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-07 12:20:39 -08:00
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify
multiple adjacent negation chars. Fixes: debbugs:17004
This commit is contained in:
parent
0d71dfb381
commit
1f44df94fa
2 changed files with 6 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue