diff options
| author | Henrik Lissner <henrik@lissner.net> | 2016-02-18 04:45:50 -0500 |
|---|---|---|
| committer | Henrik Lissner <henrik@lissner.net> | 2016-02-18 04:45:50 -0500 |
| commit | d5e1c9ec49f0c21a73a1b84d9360f496408ce7c7 (patch) | |
| tree | 0439655cc6987741720f2af84c70aa23899e3a92 /evil-surround.el | |
| parent | bfa438cf62e29074b3fc68c582765a7e0f9907e4 (diff) | |
Fix repetitive prompts with function pairs in block surrounds
Diffstat (limited to 'evil-surround.el')
| -rwxr-xr-x | evil-surround.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-surround.el b/evil-surround.el index 5aed32b..da66228 100755 --- a/evil-surround.el +++ b/evil-surround.el @@ -284,7 +284,7 @@ Becomes this: (interactive "<R>c") (when (evil-surround-valid-char-p char) (let* ((overlay (make-overlay beg end nil nil t)) - (pair (evil-surround-pair char)) + (pair (or (and (boundp 'pair) pair) (evil-surround-pair char))) (open (car pair)) (close (cdr pair))) (unwind-protect |
