Fix incorrect argc in +evil/reselect-paste
This commit is contained in:
parent
8748c755d6
commit
c294effd8d
1 changed files with 2 additions and 1 deletions
|
@ -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)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue