Commits

Mike Steder  committed 5851699

Added project support for compiling a tags file.

  • Participants
  • Parent commits 1c39e37

Comments (0)

Files changed (1)

File emacs.d/msproject.el

     (let ((null-device nil))		; see grep
       (grep command-args))))
 
+(defun msproject-get-ctags-path ()
+  "ctags-exuberant")
 
+(defun msproject-create-tags-in-directory (dir-name)
+  "Create tags file."
+  (interactive "DDirectory: ")
+  ; -e is for emacs!
+  (shell-command 
+   (format "%s -f %s/TAGS -e --recurse %s" (msproject-get-ctags-path) dir-name dir-name)))
+
+(defun msproject-create-tags ()
+  (interactive)
+  (msproject-create-tags-in-directory (msproject-project-root))
+  )
+