Variable: completion-preview-ignore-case

completion-preview-ignore-case is a customizable variable defined in completion-preview.el.gz.

Value

nil

Documentation

Whether Completion Preview mode ignores case differences.

By default this option is nil, which says that case is significant, so a completion candidate "FooBar" matches prefix "Foo", but not "foo". If you set it to non-nil, then Completion Preview mode also suggests completions that differ in case from the prefix that you type; for example, it may suggest completing "foo" with the suffix "Bar" when there's an available completion candidate "FooBar". Note that in this case, when you insert the completion (with completion-preview-insert), Completion Preview mode does not update the completed prefix according to the capitalization of the completion candidate, instead it simply ignores such case differences, so the resulting string is "fooBar".

See also completion-ignore-case.

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

Source Code

;; Defined in /usr/src/emacs/lisp/completion-preview.el.gz
(defcustom completion-preview-ignore-case nil
  "Whether Completion Preview mode ignores case differences.

By default this option is nil, which says that case is significant, so a
completion candidate \"FooBar\" matches prefix \"Foo\", but not \"foo\".
If you set it to non-nil, then Completion Preview mode also suggests
completions that differ in case from the prefix that you type; for
example, it may suggest completing \"foo\" with the suffix \"Bar\" when
there's an available completion candidate \"FooBar\".  Note that in this
case, when you insert the completion (with `completion-preview-insert'),
Completion Preview mode does not update the completed prefix according
to the capitalization of the completion candidate, instead it simply
ignores such case differences, so the resulting string is \"fooBar\".

See also `completion-ignore-case'."
  :type 'boolean
  :version "31.1")