Variable: default-command-history-filter-garbage

default-command-history-filter-garbage is a customizable variable defined in chistory.el.gz.

Value

(command-history-mode list-command-history electric-command-history)

Documentation

A list of symbols to be ignored by default-command-history-filter.

If that function is given a list whose car is an element of this list, then it will return non-nil (indicating the list should be discarded from the history). Initially, all commands related to the command history are discarded.

Source Code

;; Defined in /usr/src/emacs/lisp/chistory.el.gz
(defcustom default-command-history-filter-garbage
  '(command-history-mode
    list-command-history
    electric-command-history)
  "A list of symbols to be ignored by `default-command-history-filter'.
If that function is given a list whose car is an element of this list,
then it will return non-nil (indicating the list should be discarded from
the history).
Initially, all commands related to the command history are discarded."
  :type '(repeat symbol))