Function: org-ctags-rebuild-tags-file-then-find-tag

org-ctags-rebuild-tags-file-then-find-tag is a byte-compiled function defined in org-ctags.el.gz.

Signature

(org-ctags-rebuild-tags-file-then-find-tag NAME)

Documentation

This function is intended to be used in ORG-OPEN-LINK-FUNCTIONS.

Like ORG-CTAGS-FIND-TAG, but calls the external ctags program first, to rebuild (update) the TAGS file.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-ctags.el.gz
(defun org-ctags-rebuild-tags-file-then-find-tag (name)
  "This function is intended to be used in ORG-OPEN-LINK-FUNCTIONS.
Like ORG-CTAGS-FIND-TAG, but calls the external ctags program first,
to rebuild (update) the TAGS file."
  (unless tags-file-name
    (call-interactively #'visit-tags-table))
  (when (buffer-file-name)
    (org-ctags-create-tags))
  (org-ctags-find-tag name))