summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Lissner <henrik@lissner.net>2015-11-18 00:53:35 -0500
committerHenrik Lissner <henrik@lissner.net>2015-11-18 00:53:35 -0500
commite50649f7cd681c23e6e1313de9dba7fe4f4cb7f2 (patch)
treebd9a3b9c2a4710a52a1b826a7187b0b9df0150de
parent06071c342560ebcbfe914c6a8495f10dde627d3a (diff)
Improve evil-surround-block doc comment
-rwxr-xr-xevil-surround.el5
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