Variable: abbrev-suggest-hint-threshold

abbrev-suggest-hint-threshold is a customizable variable defined in abbrev.el.gz.

Value

3

Documentation

Threshold for when to suggest to use an abbrev to save typing.

The threshold is the amount of typing, in terms of the number of characters, that would be saved by using the abbrev. The thinking is that if the expansion is only a few characters longer than the abbrev, the benefit of informing the user is not significant. If you always want to be informed about existing abbrevs for the text you type, set this value to zero or less. This setting only applies if abbrev-suggest is non-nil.

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

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/abbrev.el.gz
(defcustom abbrev-suggest-hint-threshold 3
  "Threshold for when to suggest to use an abbrev to save typing.
The threshold is the amount of typing, in terms of the number of
characters, that would be saved by using the abbrev.  The
thinking is that if the expansion is only a few characters
longer than the abbrev, the benefit of informing the user is not
significant.  If you always want to be informed about existing
abbrevs for the text you type, set this value to zero or less.
This setting only applies if `abbrev-suggest' is non-nil."
  :type 'natnum
  :version "28.1")