Variable: term-input-filter

term-input-filter is a variable defined in term.el.gz.

Value

#[257 "\300\301\"?\207" [string-match "\\`\\s *\\'"] 4
      ("/nix/store/y8rifw71hjgsl2qjn1l0vrwq2c3593aw-emacs-30-2/share/emacs/30.2/lisp/term.elc"
       . 9924)]

Documentation

Predicate for filtering additions to input history.

Only inputs answering true to this function are saved on the input history list. Default is to save anything that isn't all whitespace.

Source Code

;; Defined in /usr/src/emacs/lisp/term.el.gz
(defvar term-input-filter
  (lambda (str) (not (string-match "\\`\\s *\\'" str)))
  "Predicate for filtering additions to input history.
Only inputs answering true to this function are saved on the input
history list.  Default is to save anything that isn't all whitespace.")