From: Dmitry Gutov Date: Wed, 6 May 2015 01:49:01 +0000 (+0300) Subject: Add semantic/symref/grep file patterns for ruby-mode X-Git-Tag: emacs-25.0.90~2191 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4d3fed0157e96c0f9a8138ad52530d7fa53b1833;p=emacs.git 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. --- 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.