Variable: dabbrev-case-replace
dabbrev-case-replace is a customizable variable defined in
dabbrev.el.gz.
Value
case-replace
Documentation
Whether dabbrev applies the abbreviations's case pattern to the expansion.
A value of nil means preserve the expansion's case pattern.
A value of case-replace means preserve it if case-replace is nil.
Any other non-nil value means modify the expansion
by applying the abbreviation's case pattern to it.
This variable has an effect only when the value of
dabbrev-case-fold-search specifies to ignore case.
Probably introduced at or before Emacs version 20.1.
Source Code
;; Defined in /usr/src/emacs/lisp/dabbrev.el.gz
(defcustom dabbrev-case-replace 'case-replace
"Whether dabbrev applies the abbreviations's case pattern to the expansion.
A value of nil means preserve the expansion's case pattern.
A value of `case-replace' means preserve it if `case-replace' is nil.
Any other non-nil value means modify the expansion
by applying the abbreviation's case pattern to it.
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)