mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(comint-last-input-match): defvar moved up.
This commit is contained in:
parent
26dc36e6f1
commit
ae7a6b887e
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue