Function: locate-tags

locate-tags is an interactive and byte-compiled function defined in locate.el.gz.

Signature

(locate-tags)

Documentation

Visit a tags table in *Locate* mode.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/locate.el.gz
(defun locate-tags ()
  "Visit a tags table in `*Locate*' mode."
  (interactive nil locate-mode)
  (if (locate-main-listing-line-p)
      (let ((tags-table (locate-get-filename)))
	(and (y-or-n-p (format "Visit tags table %s? " tags-table))
	     (visit-tags-table tags-table)))
    (message "This command only works inside main listing.")))