Mercurial > emacs
changeset 25490:af3e44ec3b8c
(next-history-element): Use minibuffer-prompt-end once
again. Remove test for minibuffer-prompt-in-buffer.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 02 Sep 1999 20:35:50 +0000 |
parents | cd3aa5527b4f |
children | 0359edc6e428 |
files | lisp/simple.el |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/simple.el Thu Sep 02 17:06:35 1999 +0000 +++ b/lisp/simple.el Thu Sep 02 20:35:50 1999 +0000 @@ -794,9 +794,7 @@ (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."