Commit ae7a6b88 authored by Richard M. Stallman's avatar Richard M. Stallman

(comint-last-input-match): defvar moved up.

parent 26dc36e6
......@@ -189,6 +189,10 @@ executed once when the buffer is created.")
"True if communications via pty; false if by pipe. Buffer local.
This is to work around a bug in emacs process signalling.")
(defvar comint-last-input-match ""
"Last string searched for by comint input history search, for defaulting.
Buffer local variable.")
(defvar comint-input-ring nil)
(defvar comint-last-input-start)
(defvar comint-last-input-end)
......@@ -427,10 +431,6 @@ Answer is guaranteed to be non-negative, and less than m."
(interactive "*p")
(comint-previous-input (- arg)))
(defvar comint-last-input-match ""
"Last string searched for by comint input history search, for defaulting.
Buffer local variable.")
(defun comint-previous-input-matching (str)
"Searches backwards through input history for substring match."
(interactive (let* ((last-command last-command) ; preserve around r-f-m
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment