rgrep made simpler

25 views
Skip to first unread message

pedz

unread,
Jul 17, 2011, 12:29:04 PM7/17/11
to emacs-o...@googlegroups.com
Add this somewhere:

(add-to-list 'grep-files-aliases (cons "rails" "*.rb *.erb *.js *.css"))

then when you do rgrep, you can specify "rails" for the second prompt (files) and it will grep only those files with the listed suffixes.  (Prevents getting hits from files in doc in particular).

Reply all
Reply to author
Forward
0 new messages