Variable: orderless-smart-case

orderless-smart-case is a customizable variable defined in orderless.el.

Value

t

Documentation

Whether to use smart case.

If this variable is t, then case-sensitivity is decided as follows: if any component contains upper case letters, the matches are case sensitive; otherwise case-insensitive. This is like the behavior of isearch when search-upper-case is non-nil.

On the other hand, if this variable is nil, then case-sensitivity is determined by the values of completion-ignore-case, read-file-name-completion-ignore-case and read-buffer-completion-ignore-case, as usual for completion.

Source Code

;; Defined in ~/.emacs.d/elpa/orderless-20260519.1029/orderless.el
(defcustom orderless-smart-case t
  "Whether to use smart case.
If this variable is t, then case-sensitivity is decided as
follows: if any component contains upper case letters, the
matches are case sensitive; otherwise case-insensitive.  This
is like the behavior of `isearch' when `search-upper-case' is
non-nil.

On the other hand, if this variable is nil, then case-sensitivity
is determined by the values of `completion-ignore-case',
`read-file-name-completion-ignore-case' and
`read-buffer-completion-ignore-case', as usual for completion."
  :type 'boolean)