aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/ruby-mode.el
diff options
context:
space:
mode:
authorDmitry Gutov2014-03-13 15:37:27 +0200
committerDmitry Gutov2014-03-13 15:37:27 +0200
commit1f44df94fa2c84abd0a14becd0da4f019237f15e (patch)
tree7deba77a9000df4883d9d2b6f9f7e73ec49ce6c0 /lisp/progmodes/ruby-mode.el
parent0d71dfb381a49ba12fe2af39ed11c945e982a203 (diff)
downloademacs-1f44df94fa2c84abd0a14becd0da4f019237f15e.tar.gz
emacs-1f44df94fa2c84abd0a14becd0da4f019237f15e.zip
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify
multiple adjacent negation chars. Fixes: debbugs:17004
Diffstat (limited to 'lisp/progmodes/ruby-mode.el')
-rw-r--r--lisp/progmodes/ruby-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index a5d8285c98e..fe9346047c6 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -2127,7 +2127,7 @@ See `font-lock-syntax-table'.")
2127 (ruby-match-expression-expansion 2127 (ruby-match-expression-expansion
2128 2 font-lock-variable-name-face t) 2128 2 font-lock-variable-name-face t)
2129 ;; Negation char. 2129 ;; Negation char.
2130 ("[^[:alnum:]_]\\(!\\)[^=]" 2130 ("\\(?:^\\|[^[:alnum:]_]\\)\\(!+\\)[^=]"
2131 1 font-lock-negation-char-face) 2131 1 font-lock-negation-char-face)
2132 ;; Character literals. 2132 ;; Character literals.
2133 ;; FIXME: Support longer escape sequences. 2133 ;; FIXME: Support longer escape sequences.