Variable: projectile-cmd-hist-ignoredups

projectile-cmd-hist-ignoredups is a customizable variable defined in projectile.el.

Value

t

Documentation

Controls when inputs are added to projectile's command history.

A value of t means consecutive duplicates are ignored. A value of erase means only the last duplicate is kept. A value of nil means nothing is ignored.

This variable was added, or its default value changed, in projectile version 2.9.0.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defcustom projectile-cmd-hist-ignoredups t
  "Controls when inputs are added to projectile's command history.

A value of t means consecutive duplicates are ignored.
A value of `erase' means only the last duplicate is kept.
A value of nil means nothing is ignored."
  :type '(choice (const :tag "Don't ignore anything" nil)
                 (const :tag "Ignore consecutive duplicates" t)
                 (const :tag "Only keep last duplicate" erase))
  :package-version '(projectile . "2.9.0"))