Variable: auto-mode-case-fold

auto-mode-case-fold is a customizable variable defined in files.el.gz.

Value

t

Documentation

Non-nil means to try second pass through auto-mode-alist.

This means that if the first case-sensitive search through the alist fails to find a matching major mode, a second case-insensitive search is made. On systems with case-insensitive file names, this variable is ignored, since only a single case-insensitive search through the alist is made.

This variable was added, or its default value changed, in Emacs 22.1.

Probably introduced at or before Emacs version 22.1.

Source Code

;; Defined in /usr/src/emacs/lisp/files.el.gz
(defcustom auto-mode-case-fold t
  "Non-nil means to try second pass through `auto-mode-alist'.
This means that if the first case-sensitive search through the alist fails
to find a matching major mode, a second case-insensitive search is made.
On systems with case-insensitive file names, this variable is ignored,
since only a single case-insensitive search through the alist is made."
  :group 'files
  :version "22.1"
  :type 'boolean)