(comint-last-input-match): defvar moved up.
authorRichard M. Stallman <rms@gnu.org>
Sat, 10 Oct 1992 07:33:59 +0000 (07:33 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 10 Oct 1992 07:33:59 +0000 (07:33 +0000)
lisp/comint.el

index a3236d9..bf7aea5 100644 (file)
@@ -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