Guest User

Untitled

a guest
Apr 21st, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.25 KB | None | 0 0
  1. (defun generate-and-load-tags (top-tag-directory)
  2.   (let ((tag-file (concat top-tag-directory "/TAGS")))
  3.     (delete-file-or-ignore tag-file)
  4.     (shell-command (concat "ctags " "-f " tag-file " -R -e " top-tag-directory))
  5.     (visit-tags-table tag-file)))
Add Comment
Please, Sign In to add comment