diff options
| author | Dmitry Gutov | 2013-07-16 18:47:23 +0400 |
|---|---|---|
| committer | Dmitry Gutov | 2013-07-16 18:47:23 +0400 |
| commit | 77aea2fbb3fc290a59d84e6534424a09aa8fc41a (patch) | |
| tree | a32e0aee850473532516f62a65d1c0454d4dbd33 | |
| parent | 18c26d81cde21b841a8f5f81b81118e5f8c6b07d (diff) | |
| download | emacs-77aea2fbb3fc290a59d84e6534424a09aa8fc41a.tar.gz emacs-77aea2fbb3fc290a59d84e6534424a09aa8fc41a.zip | |
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
highlight question marks in the method names as strings.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d1613283bb7..37c2365cc60 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-07-16 Dmitry Gutov <dgutov@yandex.ru> | ||
| 2 | |||
| 3 | * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not | ||
| 4 | highlight question marks in the method names as strings. | ||
| 5 | |||
| 1 | 2013-07-16 Jan Djärv <jan.h.d@swipnet.se> | 6 | 2013-07-16 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 7 | ||
| 3 | * frame.el (blink-cursor-blinks): New defcustom. | 8 | * frame.el (blink-cursor-blinks): New defcustom. |
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 0b83921504b..dc3dec87ba8 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -1864,7 +1864,7 @@ See `font-lock-syntax-table'.") | |||
| 1864 | 1 font-lock-negation-char-face) | 1864 | 1 font-lock-negation-char-face) |
| 1865 | ;; character literals | 1865 | ;; character literals |
| 1866 | ;; FIXME: Support longer escape sequences. | 1866 | ;; FIXME: Support longer escape sequences. |
| 1867 | '("\\?\\\\?\\S " 0 font-lock-string-face) | 1867 | '("\\_<\\?\\\\?\\S " 0 font-lock-string-face) |
| 1868 | ) | 1868 | ) |
| 1869 | "Additional expressions to highlight in Ruby mode.") | 1869 | "Additional expressions to highlight in Ruby mode.") |
| 1870 | 1870 | ||