emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r117249: Fix bug#17732


From: Dmitry Gutov
Subject: [Emacs-diffs] emacs-24 r117249: Fix bug#17732
Date: Mon, 16 Jun 2014 03:33:51 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117249
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/17732
committer: Dmitry Gutov <address@hidden>
branch nick: emacs-24
timestamp: Mon 2014-06-16 06:33:29 +0300
message:
  Fix bug#17732
  
  * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
  `!' in `!~' with `font-lock-negation-char-face'.
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-06-15 12:15:25 +0000
+++ b/lisp/ChangeLog    2014-06-16 03:33:29 +0000
@@ -1,3 +1,8 @@
+2014-06-16  Dmitry  <address@hidden>
+
+       * 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  <address@hidden>
 
        * net/dbus.el (dbus-call-method): Push only non D-Bus events into

=== modified file 'lisp/progmodes/ruby-mode.el'
--- a/lisp/progmodes/ruby-mode.el       2014-05-05 23:18:18 +0000
+++ b/lisp/progmodes/ruby-mode.el       2014-06-16 03:33:29 +0000
@@ -2152,7 +2152,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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]