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 /nix/store/x8591dlnsvch2j4brlxddqs0axxy3w60-emacs-packages-deps/share/emacs/site-lisp/elpa/orderless-20260927.2344/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)