From 5794c45d21123a031e64626e5966bd7522c63f44 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 13 Jun 2004 22:00:17 +0000 Subject: [PATCH] (previous-matching-history-element): Specify a default. --- lisp/simple.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/simple.el b/lisp/simple.el index 2f056e9d462..66bc7c6b2ed 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -953,7 +953,8 @@ See also `minibuffer-history-case-insensitive-variables'." nil minibuffer-local-map nil - 'minibuffer-history-search-history))) + 'minibuffer-history-search-history + (car minibuffer-history-search-history)))) ;; Use the last regexp specified, by default, if input is empty. (list (if (string= regexp "") (if minibuffer-history-search-history -- 2.39.5