aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/ruby-mode.el
diff options
context:
space:
mode:
authorDmitry Gutov2013-11-15 20:09:10 +0200
committerDmitry Gutov2013-11-15 20:09:10 +0200
commit43cebc237c147aecf53b6d2dc64f5df3e92b4d98 (patch)
tree6fb538f710fbaff89954724653f18f9600532d11 /lisp/progmodes/ruby-mode.el
parent2fcc742fc5c1a8de794d78a32c0c0fbf4629ca92 (diff)
downloademacs-43cebc237c147aecf53b6d2dc64f5df3e92b4d98.tar.gz
emacs-43cebc237c147aecf53b6d2dc64f5df3e92b4d98.zip
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
nil/self/true/false with "end of symbol".
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 e5a2de931d2..ab9fdce6af8 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -1925,7 +1925,7 @@ See `font-lock-syntax-table'.")
1925 "\\_<\\(?:BEGIN\\|END\\)\\_>\\|^__END__$" 1925 "\\_<\\(?:BEGIN\\|END\\)\\_>\\|^__END__$"
1926 ;; Variables. 1926 ;; Variables.
1927 (,(concat ruby-font-lock-keyword-beg-re 1927 (,(concat ruby-font-lock-keyword-beg-re
1928 "\\_<\\(nil\\|self\\|true\\|false\\)\\>") 1928 "\\_<\\(nil\\|self\\|true\\|false\\)\\_>")
1929 1 font-lock-variable-name-face) 1929 1 font-lock-variable-name-face)
1930 ;; Keywords that evaluate to certain values. 1930 ;; Keywords that evaluate to certain values.
1931 ("\\_<__\\(?:LINE\\|ENCODING\\|FILE\\)__\\_>" 1931 ("\\_<__\\(?:LINE\\|ENCODING\\|FILE\\)__\\_>"