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:
parent
f56f1421df
commit
fd6bc60fe4
1 changed files with 3 additions and 1 deletions
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue