Function: org-ctags-find-tag-interactive
org-ctags-find-tag-interactive is an interactive and byte-compiled
function defined in org-ctags.el.gz.
Signature
(org-ctags-find-tag-interactive)
Documentation
Prompt for the name of a tag, with autocompletion, then visit the named tag.
If the user enters a string that does not match an existing tag, create a new topic.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-ctags.el.gz
(defun org-ctags-find-tag-interactive ()
"Prompt for the name of a tag, with autocompletion, then visit the named tag.
If the user enters a string that does not match an existing tag, create
a new topic."
(interactive)
(let* ((tag (completing-read "Topic: " org-ctags-tag-list
nil 'confirm nil 'org-ctags-find-tag-history)))
(when tag
(cond
((member tag org-ctags-tag-list)
;; Existing tag
(push tag org-ctags-find-tag-history)
(xref-find-definitions tag))
(t
;; New tag
(run-hook-with-args-until-success
'org-open-link-functions tag))))))