Variable: etags-regen-tags-file
etags-regen-tags-file is a customizable variable defined in
etags-regen.el.gz.
Value
"TAGS"
Documentation
Name of the tags file to create inside the project by etags-regen-mode(var)/etags-regen-mode(fun).
The value should either be a simple file name (no directory
specified), or a function that accepts the project root directory
and returns a distinct absolute file name for its tags file. The
latter possibility is useful when you prefer to store the tag
files somewhere else, for example in temporary-file-directory(var)/temporary-file-directory(fun).
This variable was added, or its default value changed, in Emacs 30.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/etags-regen.el.gz
(defcustom etags-regen-tags-file "TAGS"
"Name of the tags file to create inside the project by `etags-regen-mode'.
The value should either be a simple file name (no directory
specified), or a function that accepts the project root directory
and returns a distinct absolute file name for its tags file. The
latter possibility is useful when you prefer to store the tag
files somewhere else, for example in `temporary-file-directory'."
:type '(choice (string :tag "File name")
(function :tag "Function that returns file name"))
:version "30.1")