summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2014-04-09 04:14:37 +0400
committerDmitry Gutov <dgutov@yandex.ru>2014-04-09 04:14:37 +0400
commit0122b24d9079dc5cc7550eed8e71591bd1241dc8 (patch)
treee7f385e902602fce6ee69273124b5e07962c2308
parent5b9925ae30bfab909294bd18454413fdc821f103 (diff)
downloademacs-0122b24d9079dc5cc7550eed8e71591bd1241dc8.tar.gz
Highlight more Module methods
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more Module methods. Fixes: debbugs:17216
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/ruby-mode.el4
2 files changed, 9 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3b5b7898933..09d5ff427bb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
+
+ * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
+ Module methods. (Bug#17216)
+
2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
* help.el (describe-bindings): Fix buffer handling (bug#17210).
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 6c6cdd3427d..912736707ef 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -2065,6 +2065,10 @@ See `font-lock-syntax-table'.")
"include"
"module_function"
"prepend"
+ "private_class_method"
+ "private_constant"
+ "public_class_method"
+ "public_constant"
"refine"
"using")
'symbols))