summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harper <timcharper@gmail.com>2016-09-11 13:24:14 -0600
committerGitHub <noreply@github.com>2016-09-11 13:24:14 -0600
commit3812140e11a1b30878701cc028a4305ec3280a35 (patch)
tree31e28690cad0c36161c0655ab6be1d530d1554be
parent3e4baf7e203adbb1a57cbb372db17edf1f3a2b90 (diff)
parent9a7ab545dd2d10be5ed8abfc2d77b03fc05518e2 (diff)
Merge pull request #83 from wbolster/use-explicit-autoload-definitions
Add explicit autoload definitions to avoid implicit evil dependency
-rwxr-xr-xevil-surround.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/evil-surround.el b/evil-surround.el
index 10873c6..3fdfc8b 100755
--- a/evil-surround.el
+++ b/evil-surround.el
@@ -166,7 +166,7 @@ See also `evil-surround-outer-overlay'."
(evil-expand-range range)
range)))
-;;;###autoload
+;;;###autoload (autoload 'evil-surround-delete "evil-surround" nil t)
(evil-define-command evil-surround-delete (char &optional outer inner)
"Delete the surrounding delimiters represented by CHAR.
Alternatively, the text to delete can be represented with
@@ -190,7 +190,7 @@ between these overlays is what is deleted."
(when outer (delete-overlay outer))
(when inner (delete-overlay inner)))))))
-;;;###autoload
+;;;###autoload (autoload 'evil-surround-change "evil-surround" nil t)
(evil-define-command evil-surround-change (char &optional outer inner)
"Change the surrounding delimiters represented by CHAR.
Alternatively, the text to delete can be represented with the