Function: find-tag-tag

find-tag-tag is a byte-compiled function defined in etags.el.gz.

Signature

(find-tag-tag STRING)

Documentation

Read a tag name, with defaulting and completion.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/etags.el.gz
(defun find-tag-tag (string)
  "Read a tag name, with defaulting and completion."
  (let* ((completion-ignore-case (find-tag--completion-ignore-case))
	 (default (find-tag--default))
	 (spec (completing-read (format-prompt string default)
				(tags-lazy-completion-table)
				nil nil nil nil default)))
    (if (equal spec "")
	(or default (user-error "There is no default tag"))
      spec)))