diff options
| author | Henrik Lissner <henrik@lissner.net> | 2015-11-18 00:53:35 -0500 |
|---|---|---|
| committer | Henrik Lissner <henrik@lissner.net> | 2015-11-18 00:53:35 -0500 |
| commit | e50649f7cd681c23e6e1313de9dba7fe4f4cb7f2 (patch) | |
| tree | bd9a3b9c2a4710a52a1b826a7187b0b9df0150de | |
| parent | 06071c342560ebcbfe914c6a8495f10dde627d3a (diff) | |
Improve evil-surround-block doc comment
| -rwxr-xr-x | evil-surround.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/evil-surround.el b/evil-surround.el index e22755f..09f06ff 100755 --- a/evil-surround.el +++ b/evil-surround.el @@ -221,8 +221,9 @@ overlays OUTER and INNER, which are passed to `evil-surround-delete'." (save-excursion (goto-char pos) (current-column))) (defun evil-surround-block (beg end char) - "Split a block into regions per line and surround them individually. Skips -lines where the columns don't line up." + "Surrounds a block selection with a character, as if `evil-surround-region' +were called on each segment in each line. This skips lines where EOL < BEG's +column." (let ((beg-col (evil-surround-column-at beg)) (end-col (evil-surround-column-at end))) (evil-apply-on-block |
