Variable: term-input-autoexpand

term-input-autoexpand is a customizable variable defined in term.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 histlit).

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 term-magic-space and term-dynamic-complete.

This variable is buffer-local.

Source Code

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

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 `term-magic-space' and
`term-dynamic-complete'.

This variable is buffer-local."
  :type '(choice (const nil) (const t) (const input) (const history))
  :group 'term)