Commit bf2083f9 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(minibuffer-prompt-end): Return the position

after the prompt, not the position of that last character
of the prompt.
parent 463cac2d
......@@ -860,12 +860,8 @@ Return 0 if current buffer is not a mini-buffer."
(defun minibuffer-prompt-end ()
"Return the buffer position of the end of the minibuffer prompt.
Return 0 if current buffer is not a mini-buffer."
;; Return the width of everything before the field at the end of
;; the buffer; this should be 0 for normal buffers.
;; XXX This definition doesn't seem very useful; why does one care
;; about the last character of the prompt? The beginning of the
;; user-text seems more useful (e.g., this value + 1).
(1- (field-beginning (point-max))))
(field-beginning (point-max)))
;Put this on C-x u, so we can force that rather than C-_ into startup msg
(defalias 'advertised-undo 'undo)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment