mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
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
@ -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…
Reference in New Issue
Block a user