(next-history-element): Use minibuffer-prompt-end once
authorGerd Moellmann <gerd@gnu.org>
Thu, 2 Sep 1999 20:35:50 +0000 (20:35 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 2 Sep 1999 20:35:50 +0000 (20:35 +0000)
again.  Remove test for minibuffer-prompt-in-buffer.

lisp/simple.el

index 418dd71..89033f8 100644 (file)
@@ -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."