From: Gerd Moellmann Date: Thu, 2 Sep 1999 20:35:50 +0000 (+0000) Subject: (next-history-element): Use minibuffer-prompt-end once X-Git-Tag: emacs-pretest-21.0.90~6952 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=280decf4d1b33103c7cb18231dc78b04f50906fb;p=emacs.git (next-history-element): Use minibuffer-prompt-end once again. Remove test for minibuffer-prompt-in-buffer. --- 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."