aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/simple.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index e51c9ac043c..300d9772e9e 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2109,6 +2109,8 @@ next element of the minibuffer history in the minibuffer."
2109 (interactive "^p") 2109 (interactive "^p")
2110 (or arg (setq arg 1)) 2110 (or arg (setq arg 1))
2111 (let* ((old-point (point)) 2111 (let* ((old-point (point))
2112 ;; Don't add newlines if they have the mode enabled globally.
2113 (next-line-add-newlines nil)
2112 ;; Remember the original goal column of possibly multi-line input 2114 ;; Remember the original goal column of possibly multi-line input
2113 ;; excluding the length of the prompt on the first line. 2115 ;; excluding the length of the prompt on the first line.
2114 (prompt-end (minibuffer-prompt-end)) 2116 (prompt-end (minibuffer-prompt-end))