1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* 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

@ -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.")