From 280decf4d1b33103c7cb18231dc78b04f50906fb Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 2 Sep 1999 20:35:50 +0000 Subject: [PATCH] (next-history-element): Use minibuffer-prompt-end once again. Remove test for minibuffer-prompt-in-buffer. --- lisp/simple.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index 418dd71ad5d..89033f82688 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -794,9 +794,7 @@ An uppercase letter in REGEXP makes the search case-sensitive." (let ((print-level nil)) (prin1-to-string elt)) elt)) - (if (boundp 'minibuffer-prompt-in-buffer) - (goto-char (minibuffer-prompt-width)) - (goto-char (point-min)))))) + (goto-char (minibuffer-prompt-end))))) (defun previous-history-element (n) "Inserts the previous element of the minibuffer history into the minibuffer." -- 2.39.5