Variable: comint-input-autoexpand

comint-input-autoexpand is a customizable variable defined in comint.el.gz.

Value

nil

Documentation

If non-nil, expand input command history references on completion.

This mirrors the optional behavior of tcsh (its autoexpand and histlist).

If the value is input, then the expansion is seen on input. If the value is history, then the expansion is only when inserting into the buffer's input ring. See also comint-magic-space and completion-at-point.

This variable is buffer-local.

View in manual

Probably introduced at or before Emacs version 19.20.

Source Code

;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defcustom comint-input-autoexpand nil
  "If non-nil, expand input command history references on completion.
This mirrors the optional behavior of tcsh (its autoexpand and histlist).

If the value is `input', then the expansion is seen on input.
If the value is `history', then the expansion is only when inserting
into the buffer's input ring.  See also `comint-magic-space' and
`completion-at-point'.

This variable is buffer-local."
  :type '(choice (const :tag "off" nil)
		 (const input)
		 (const history)
		 (other :tag "on" t))
  :group 'comint)