aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/simple.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 971f6006732..7573789ad5c 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1075,7 +1075,9 @@ that uses or sets the mark."
1075 (interactive) 1075 (interactive)
1076 (push-mark (point)) 1076 (push-mark (point))
1077 (push-mark (point-max) nil t) 1077 (push-mark (point-max) nil t)
1078 (goto-char (point-min))) 1078 ;; This is really `point-min' in most cases, but if we're in the
1079 ;; minibuffer, this is at the end of the prompt.
1080 (goto-char (minibuffer-prompt-end)))
1079 1081
1080 1082
1081;; Counting lines, one way or another. 1083;; Counting lines, one way or another.