jrockway / eproject

file grouping ("project") extension for emacs
161 stars 41 forks source link

Let projects control arguments passed to the eproject-tags-etags command #57

Closed danjacka closed 5 years ago

danjacka commented 11 years ago

This commit allows the following:

(define-project-type foo (generic)
  (look-for "foo.cfg")
  :tags-cmd-args (lambda (root) '("-R" "--languages=-JavaScript" "my/files")))

which - when eproject-tags is called from a foo project - will invoke etags with:

etags -o .TAGS-tmp --verbose -R --languages=-JavaScript my/files