Fix setting region in the minibuffer
* lisp/minibuffer.el (minibuffer-beginning-of-buffer): Fix setting region. (Bug#64022)
This commit is contained in:
parent
1383efe01d
commit
aaeaf608d8
1 changed files with 3 additions and 3 deletions
|
@ -4399,9 +4399,9 @@ after the end of the prompt, move to the end of the prompt.
|
|||
Otherwise move to the start of the buffer."
|
||||
(declare (interactive-only "use `(goto-char (point-min))' instead."))
|
||||
(interactive "^P")
|
||||
(when (or (consp arg)
|
||||
(region-active-p))
|
||||
(push-mark))
|
||||
(or (consp arg)
|
||||
(region-active-p)
|
||||
(push-mark))
|
||||
(goto-char (cond
|
||||
;; We want to go N/10th of the way from the beginning.
|
||||
((and arg (not (consp arg)))
|
||||
|
|
Loading…
Add table
Reference in a new issue