Skip to content

Instantly share code, notes, and snippets.

@bkudria
Created May 14, 2009 06:18
Show Gist options
  • Save bkudria/111520 to your computer and use it in GitHub Desktop.
Save bkudria/111520 to your computer and use it in GitHub Desktop.
(defun create-tags-file ()
(interactive)
(let*
((project-dir (read-directory-name "Project directory? "))
(project-tags-file (concat project-dir ".tags"))
(project-files (concat project-dir "*"))
(ctags-args '()))
(call-process "ctags-exuberant" nil nil t "-e" "-f" project-tags-file " " project-files))
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment