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

highlight question marks in the method names as strings.
This commit is contained in:
Dmitry Gutov 2013-07-16 18:47:23 +04:00
parent 18c26d81cd
commit 77aea2fbb3
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
* 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 <jan.h.d@swipnet.se>
* frame.el (blink-cursor-blinks): New defcustom.

View file

@ -1864,7 +1864,7 @@ See `font-lock-syntax-table'.")
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.")