[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r116753: * lisp/progmodes/ruby-mode.el (ruby-font-lo
From: |
Dmitry Gutov |
Subject: |
[Emacs-diffs] trunk r116753: * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify |
Date: |
Thu, 13 Mar 2014 13:37:47 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 116753
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/17004
committer: Dmitry Gutov <address@hidden>
branch nick: trunk
timestamp: Thu 2014-03-13 15:37:27 +0200
message:
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify
multiple adjacent negation chars.
modified:
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/progmodes/ruby-mode.el
rubymode.el-20091113204419-o5vbwnq5f7feedwu-8804
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2014-03-13 13:34:01 +0000
+++ b/lisp/ChangeLog 2014-03-13 13:37:27 +0000
@@ -1,3 +1,8 @@
+2014-03-13 Dmitry Gutov <address@hidden>
+
+ * progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify
+ multiple adjacent negation chars. (Bug#17004)
+
2014-03-13 Tom Willemse <address@hidden> (tiny change)
* emacs-lisp/package.el (package--prepare-dependencies):
=== modified file 'lisp/progmodes/ruby-mode.el'
--- a/lisp/progmodes/ruby-mode.el 2014-03-01 22:04:59 +0000
+++ b/lisp/progmodes/ruby-mode.el 2014-03-13 13:37:27 +0000
@@ -2127,7 +2127,7 @@
(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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r116753: * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify,
Dmitry Gutov <=