summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2015-05-06 04:49:01 +0300
committerDmitry Gutov <dgutov@yandex.ru>2015-05-06 05:58:24 +0300
commit4d3fed0157e96c0f9a8138ad52530d7fa53b1833 (patch)
tree049fb9dbd82b6f2d69811d7467a2ecd28f9d5c18 /lisp
parentf96313f1101c02fba910d85d63148d402397be3e (diff)
downloademacs-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.el6
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.