diff options
| author | Justin Burkett <justin@burkett.cc> | 2019-08-15 15:38:34 -0400 |
|---|---|---|
| committer | Eivind Fonn <evfonn@gmail.com> | 2019-11-19 11:34:20 +0100 |
| commit | e5a4cea6e0f541c0f5ae088b207cfbe249494189 (patch) | |
| tree | bd0b2bf95d7e9b33b32311182c05d30867b2c4c5 /evil-commands.el | |
| parent | 5365e4d79f7f9c9e04d8d4f9b02b087791c18db2 (diff) | |
Fix dispatch in evil-yank for visual-line-mode
Make evil-yank aware of screen-lines
Diffstat (limited to 'evil-commands.el')
| -rw-r--r-- | evil-commands.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-commands.el b/evil-commands.el index 6efa2cd..0629e71 100644 --- a/evil-commands.el +++ b/evil-commands.el @@ -1361,7 +1361,7 @@ or line COUNT to the top of the window." (cua-copy-region-to-global-mark beg end)) ((eq type 'block) (evil-yank-rectangle beg end register yank-handler)) - ((eq type 'line) + ((memq type '(line screen-line)) (evil-yank-lines beg end register yank-handler)) (t (evil-yank-characters beg end register yank-handler))))) |
