Function: org-ctags-all-tags-in-current-tags-table

org-ctags-all-tags-in-current-tags-table is an interactive and byte-compiled function defined in org-ctags.el.gz.

Signature

(org-ctags-all-tags-in-current-tags-table)

Documentation

Read all tags defined in the active TAGS file, into a list of strings.

Return the list.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-ctags.el.gz
(defun org-ctags-all-tags-in-current-tags-table ()
  "Read all tags defined in the active TAGS file, into a list of strings.
Return the list."
  (interactive)
  (let ((taglist nil))
    (unless tags-file-name
      (call-interactively #'visit-tags-table))
    (save-excursion
      (visit-tags-table-buffer 'same)
      (with-current-buffer (get-file-buffer tags-file-name)
        (goto-char (point-min))
        (while (re-search-forward "^.*\^?\\(.*\\)\^A\\([0-9]+\\),\\([0-9]+\\)$"
                                  nil t)
          (push (substring-no-properties (match-string 1)) taglist)))
      taglist)))