From ae7a6b887ebbeedb2bab330727fa2f73ae12714b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 10 Oct 1992 07:33:59 +0000 Subject: [PATCH] (comint-last-input-match): defvar moved up. --- lisp/comint.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/comint.el b/lisp/comint.el index a3236d904d5..bf7aea518d8 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -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