1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-21 07:30:50 -08:00

(next-history-element): Set point to the end of the

prompt if minibuffer-prompt-in-buffer.
This commit is contained in:
Gerd Moellmann 1999-07-23 10:59:35 +00:00
parent f56f1421df
commit fd6bc60fe4

View file

@ -824,7 +824,9 @@ An uppercase letter in REGEXP makes the search case-sensitive."
(let ((print-level nil))
(prin1-to-string elt))
elt))
(goto-char (point-min)))))
(if (boundp 'minibuffer-prompt-in-buffer)
(goto-char (minibuffer-prompt-width))
(goto-char (point-min))))))
(defun previous-history-element (n)
"Inserts the previous element of the minibuffer history into the minibuffer."