From: Dmitry Gutov Date: Fri, 15 Nov 2013 18:09:10 +0000 (+0200) Subject: * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~813 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=43cebc237c147aecf53b6d2dc64f5df3e92b4d98;p=emacs.git * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for nil/self/true/false with "end of symbol". --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a8e807adc1c..aabdbd6b0fc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-11-15 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for + nil/self/true/false with "end of symbol". + 2013-11-15 Bozhidar Batsov * subr.el (version-regexp-alist): Fix a typo. diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index e5a2de931d2..ab9fdce6af8 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -1925,7 +1925,7 @@ See `font-lock-syntax-table'.") "\\_<\\(?:BEGIN\\|END\\)\\_>\\|^__END__$" ;; Variables. (,(concat ruby-font-lock-keyword-beg-re - "\\_<\\(nil\\|self\\|true\\|false\\)\\>") + "\\_<\\(nil\\|self\\|true\\|false\\)\\_>") 1 font-lock-variable-name-face) ;; Keywords that evaluate to certain values. ("\\_<__\\(?:LINE\\|ENCODING\\|FILE\\)__\\_>"