Variable: comint-input-ignoredups

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

Value

nil

Documentation

If non-nil, don't add input matching the last on the input ring.

This mirrors the optional behavior of bash.

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-ignoredups nil
  "If non-nil, don't add input matching the last on the input ring.
This mirrors the optional behavior of bash.

This variable is buffer-local."
  :type 'boolean
  :group 'comint)