Variable: generic-ignore-files-regexp

generic-ignore-files-regexp is a customizable variable defined in generic-x.el.gz.

Value

"[Tt][Aa][Gg][Ss]\\'"

Documentation

Regular expression used by generic-mode-find-file-hook.

Files whose names match this regular expression should not be put into Default-Generic mode, even if they have lines which match the regexp in generic-find-file-regexp. If the value is nil, generic-mode-find-file-hook does not check the file names.

Source Code

;; Defined in /usr/src/emacs/lisp/generic-x.el.gz
(defcustom generic-ignore-files-regexp "[Tt][Aa][Gg][Ss]\\'"
  "Regular expression used by `generic-mode-find-file-hook'.
Files whose names match this regular expression should not be put
into Default-Generic mode, even if they have lines which match
the regexp in `generic-find-file-regexp'.  If the value is nil,
`generic-mode-find-file-hook' does not check the file names."
  :type  '(choice (const :tag "Don't check file names" nil) regexp))