emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r113432: * lisp/progmodes/ruby-mode.el (ruby-font-lo


From: Dmitry Gutov
Subject: [Emacs-diffs] trunk r113432: * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
Date: Tue, 16 Jul 2013 14:47:19 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113432
revision-id: address@hidden
parent: address@hidden
committer: Dmitry Gutov <address@hidden>
branch nick: trunk
timestamp: Tue 2013-07-16 18:47:23 +0400
message:
  * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
  highlight question marks in the method names as strings.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/progmodes/ruby-mode.el    
rubymode.el-20091113204419-o5vbwnq5f7feedwu-8804
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-07-16 11:41:06 +0000
+++ b/lisp/ChangeLog    2013-07-16 14:47:23 +0000
@@ -1,3 +1,8 @@
+2013-07-16  Dmitry Gutov  <address@hidden>
+
+       * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
+       highlight question marks in the method names as strings.
+
 2013-07-16  Jan Djärv  <address@hidden>
 
        * frame.el (blink-cursor-blinks): New defcustom.

=== modified file 'lisp/progmodes/ruby-mode.el'
--- a/lisp/progmodes/ruby-mode.el       2013-07-13 19:10:19 +0000
+++ b/lisp/progmodes/ruby-mode.el       2013-07-16 14:47:23 +0000
@@ -1864,7 +1864,7 @@
      1 font-lock-negation-char-face)
    ;; character literals
    ;; FIXME: Support longer escape sequences.
-   '("\\?\\\\?\\S " 0 font-lock-string-face)
+   '("\\_<\\?\\\\?\\S " 0 font-lock-string-face)
    )
   "Additional expressions to highlight in Ruby mode.")
 


reply via email to

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