Variable: comint-history-isearch

comint-history-isearch is a customizable variable defined in comint.el.gz.

Value

nil

Documentation

Non-nil to Isearch in input history only, not in comint buffer output.

If t, usual Isearch keys like \C-r and \C-M-r in comint mode search in the input history. If dwim, Isearch keys search in the input history only when initial point position is at the comint command line. When starting Isearch from other parts of the comint buffer, they search in the comint buffer. If nil, Isearch operates on the whole comint buffer.

This variable was added, or its default value changed, in Emacs 23.2.

Source Code

;; Defined in /usr/src/emacs/lisp/comint.el.gz
;; Isearch in comint input history

(defcustom comint-history-isearch nil
  "Non-nil to Isearch in input history only, not in comint buffer output.
If t, usual Isearch keys like \\`C-r' and \\`C-M-r' in comint mode search
in the input history.
If `dwim', Isearch keys search in the input history only when initial
point position is at the comint command line.  When starting Isearch
from other parts of the comint buffer, they search in the comint buffer.
If nil, Isearch operates on the whole comint buffer."
  :type '(choice (const :tag "Don't search in input history" nil)
		 (const :tag "When point is on command line initially, search history" dwim)
		 (const :tag "Always search in input history" t))
  :group 'comint
  :version "23.2")