Variable: etags-regen-file-extensions
etags-regen-file-extensions is a customizable variable defined in
etags-regen.el.gz.
Value
("ads" "adb" "ada" "asm" "ins" "s" "sa" "S" "src" "c" "h" "c++" "cc"
"cpp" "cxx" "h++" "hh" "hpp" "hxx" "m" "pdb" "cs" "hs" "erl" "hrl"
"fth" "tok" "f" "f90" "for" "go" "java" "cl" "clisp" "el" "lisp"
"lsp" "lua" "lm" "p" "pas" "pl" "pm" "php" "php3" "php4" "pc"
"prolog" "py" "rb" "ru" "rbw" "rs" "oak" "rkt" "sch" "scheme" "scm"
"sm" "ss" "y" "y++" "ym" "yxx" "yy")
Documentation
Code file extensions for etags-regen-mode(var)/etags-regen-mode(fun).
File extensions to generate the tags for.
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
;; We have to list all extensions: etags falls back to Fortran
;; when it cannot determine the type of the file.
;; http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00323.html
(defcustom etags-regen-file-extensions
'("ads" "adb" "ada" "asm" "ins" "s" "sa" "S" "src"
"c" "h" "c++" "cc" "cpp" "cxx" "h++" "hh" "hpp" "hxx" "m" "pdb"
"cs" "hs" "erl" "hrl" "fth" "tok" "f" "f90" "for" "go"
"java" "cl" "clisp" "el" "lisp" "lsp" "lua" "lm" "p" "pas"
"pl" "pm" "php" "php3" "php4" "pc" "prolog" "py" "rb" "ru" "rbw"
"rs" "oak" "rkt" "sch" "scheme" "scm" "sm" "ss"
"y" "y++" "ym" "yxx" "yy")
"Code file extensions for `etags-regen-mode'.
File extensions to generate the tags for."
:type '(repeat (string :tag "File extension"))
:version "30.1")