aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/simple.el4
1 files changed, 1 insertions, 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."
794 (let ((print-level nil)) 794 (let ((print-level nil))
795 (prin1-to-string elt)) 795 (prin1-to-string elt))
796 elt)) 796 elt))
797 (if (boundp 'minibuffer-prompt-in-buffer) 797 (goto-char (minibuffer-prompt-end)))))
798 (goto-char (minibuffer-prompt-width))
799 (goto-char (point-min))))))
800 798
801(defun previous-history-element (n) 799(defun previous-history-element (n)
802 "Inserts the previous element of the minibuffer history into the minibuffer." 800 "Inserts the previous element of the minibuffer history into the minibuffer."