aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS4
-rw-r--r--lisp/simple.el4
2 files changed, 7 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index ef2b4b01f60..da68ed597db 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -57,6 +57,10 @@ affected by this, as SGI stopped supporting IRIX in December 2013.
57* Changes in Emacs 25.2 57* Changes in Emacs 25.2
58 58
59--- 59---
60** `C-x h' (`mark-whole-buffer') will now avoid marking the prompt
61part of minibuffers.
62
63---
60** `find-library' now takes a prefix argument to pop to a different 64** `find-library' now takes a prefix argument to pop to a different
61window. 65window.
62 66
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.