aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2016-01-30 14:16:36 +0200
committerEli Zaretskii2016-01-30 14:16:36 +0200
commit25b79d7bc71079cd6ebb2700623e7e3b76b03287 (patch)
tree1654109110b07b8ebf8fd9b9196e73f2d4553972 /doc
parentccc3b3cd68312e1d69d9f9af943ee2b9a9d88198 (diff)
downloademacs-25b79d7bc71079cd6ebb2700623e7e3b76b03287.tar.gz
emacs-25b79d7bc71079cd6ebb2700623e7e3b76b03287.zip
Improve Ruby support in 'etags'
* lib-src/etags.c (Ruby_functions): Tag constants. Don't tag singleton classes. Remove class qualifiers from tags generated for method and constant names. (Bug#22241) * doc/emacs/maintaining.texi (Tag Syntax): Mention that constants are tagged by etags in Ruby. * etc/NEWS: Mention that constants are tagged by etags in Ruby. * test/etags/ruby-src/test1.ruby: Add more tests. * test/etags/ETAGS.good_1: * test/etags/ETAGS.good_2: * test/etags/ETAGS.good_3: * test/etags/ETAGS.good_4: * test/etags/ETAGS.good_5: * test/etags/ETAGS.good_6: * test/etags/CTAGS.good: Adapt to the changes in etags and in Ruby tests.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/maintaining.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index 471a16b57de..7039de63e53 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -2264,7 +2264,7 @@ generate a tag.
2264 2264
2265@item 2265@item
2266In Ruby code, @code{def} or @code{class} or @code{module} at the 2266In Ruby code, @code{def} or @code{class} or @code{module} at the
2267beginning of a line generate a tag. 2267beginning of a line generate a tag. Constants also generate tags.
2268@end itemize 2268@end itemize
2269 2269
2270 You can also generate tags based on regexp matching (@pxref{Etags 2270 You can also generate tags based on regexp matching (@pxref{Etags