diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2015-05-06 04:49:01 +0300 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2015-05-06 05:58:24 +0300 |
commit | 4d3fed0157e96c0f9a8138ad52530d7fa53b1833 (patch) | |
tree | 049fb9dbd82b6f2d69811d7467a2ecd28f9d5c18 /lisp | |
parent | f96313f1101c02fba910d85d63148d402397be3e (diff) | |
download | emacs-4d3fed0157e96c0f9a8138ad52530d7fa53b1833.tar.gz |
Add semantic/symref/grep file patterns for ruby-mode
* lisp/cedet/semantic/symref/grep.el
(semantic-symref-filepattern-alist): Add patterns for
ruby-mode. Clarify the docstring.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/cedet/semantic/symref/grep.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/cedet/semantic/symref/grep.el b/lisp/cedet/semantic/symref/grep.el index d57b50fb98f..4598a2c98ea 100644 --- a/lisp/cedet/semantic/symref/grep.el +++ b/lisp/cedet/semantic/symref/grep.el @@ -46,9 +46,11 @@ and those hits returned.") '((c-mode "*.[ch]") (c++-mode "*.[chCH]" "*.[ch]pp" "*.cc" "*.hh") (html-mode "*.s?html" "*.php") + (ruby-mode "*.r[bu]" "*.rake" "*.gemspec" "*.erb" "*.haml" + "Rakefile" "Thorfile" "Capfile" "Guardfile" "Vagrantfile") ) - "List of major modes and file extension pattern regexp. -See find -regex man page for format.") + "List of major modes and file extension pattern. +See find -name man page for format.") (defun semantic-symref-derive-find-filepatterns (&optional mode) "Derive a list of file patterns for the current buffer. |