Variable: dabbrev-case-distinction

dabbrev-case-distinction is a customizable variable defined in dabbrev.el.gz.

Value

case-replace

Documentation

Whether dabbrev treats expansions as the same if they differ in case.

A value of nil means treat them as different. A value of case-replace means distinguish them if case-replace is nil. Any other non-nil value means to treat them as the same.

This variable has an effect only when the value of dabbrev-case-fold-search specifies to ignore case.

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

Source Code

;; Defined in /usr/src/emacs/lisp/dabbrev.el.gz
(defcustom dabbrev-case-distinction 'case-replace
  "Whether dabbrev treats expansions as the same if they differ in case.

A value of nil means treat them as different.
A value of `case-replace' means distinguish them if `case-replace' is nil.
Any other non-nil value means to treat them as the same.

This variable has an effect only when the value of
`dabbrev-case-fold-search' specifies to ignore case."
  :type '(choice (const :tag "off" nil)
		 (const :tag "based on `case-replace'" case-replace)
		 (other :tag "on" t))
  :group 'dabbrev
  :version "22.1")