mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix incorrect argc in +evil/reselect-paste
This commit is contained in:
@ -20,7 +20,8 @@
|
|||||||
(defun +evil/reselect-paste ()
|
(defun +evil/reselect-paste ()
|
||||||
"Go back into visual mode and reselect the last pasted region."
|
"Go back into visual mode and reselect the last pasted region."
|
||||||
(interactive)
|
(interactive)
|
||||||
(destructuring-bind (_ _ _ beg end) evil-last-paste
|
(destructuring-bind (_ _ _ beg end &optional _)
|
||||||
|
evil-last-paste
|
||||||
(evil-visual-make-selection
|
(evil-visual-make-selection
|
||||||
(save-excursion (goto-char beg) (point-marker))
|
(save-excursion (goto-char beg) (point-marker))
|
||||||
end)))
|
end)))
|
||||||
|
Reference in New Issue
Block a user