Permalink
Browse files

bugfix: delete/change surround {square,angle} brackets was broken

* The docstring was in the wrong position, and the macro silently failed :(
  • Loading branch information...
1 parent a8c05e9 commit 695100fe845a8ed2abfe3b57a51f64df3b57e8fa @timcharper committed Aug 24, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 vimpulse-surround.el
View
@@ -228,9 +228,9 @@ Otherwise, dispatch to `vimpulse-change'."
(vimpulse-paren-range arg ?\( nil t))
(vimpulse-surround-define-text-object vimpulse-surround-bracket (arg)
+ "Select surrounding square brackets."
:keys '("]")
:strip-keys '("[")
- "Select surrounding square brackets."
(vimpulse-paren-range arg ?\[ nil t))
(vimpulse-surround-define-text-object vimpulse-surround-brace (arg)
@@ -240,9 +240,9 @@ Otherwise, dispatch to `vimpulse-change'."
(vimpulse-paren-range arg ?\{ nil t))
(vimpulse-surround-define-text-object vimpulse-surround-angle (arg)
+ "Select surrounding angle brackets."
:keys '(">")
:strip-keys '("<")
- "Select surrounding angle brackets."
(vimpulse-paren-range arg ?< nil t))
(vimpulse-surround-define-text-object vimpulse-surround-single-quote (arg)

0 comments on commit 695100f

Please sign in to comment.