branch: elpa/evil-matchit
commit 13b95b675d841c88e45c28ef87bfb60b45fa186a
Author: Chen Bin <[email protected]>
Commit: Chen Bin <[email protected]>
evil-jump-item parameter is wierd, v0.0.3
---
README.org | 2 +-
evil-matchit-pkg.el | 2 +-
evil-matchit.el | 9 ++++++---
pkg.sh | 2 +-
4 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/README.org b/README.org
index af723b05a6..f4e607e9b3 100644
--- a/README.org
+++ b/README.org
@@ -1,4 +1,4 @@
-* evil-matchit (current version 0.0.2)
+* evil-matchit (current version 0.0.3)
Vim [[http://www.vim.org/scripts/script.php?script_id=39][matchit.vim]] by
Benji Fisher ported into Emacs.
diff --git a/evil-matchit-pkg.el b/evil-matchit-pkg.el
index 1ba1ebfcbc..799e691bef 100644
--- a/evil-matchit-pkg.el
+++ b/evil-matchit-pkg.el
@@ -1,2 +1,2 @@
-(define-package "evil-matchit" "0.0.2"
+(define-package "evil-matchit" "0.0.3"
"Vim matchit ported into Emacs (requires EVIL)")
diff --git a/evil-matchit.el b/evil-matchit.el
index b8ed5527d1..3de68369c6 100644
--- a/evil-matchit.el
+++ b/evil-matchit.el
@@ -4,7 +4,7 @@
;; Author: Chen Bin <[email protected]>
;; URL: http://github.com/redguardtoo/evil-matchit
-;; Version: 0.0.2
+;; Version: 0.0.3
;; Keywords: matchit vim evil
;;
;; This file is not part of GNU Emacs.
@@ -122,8 +122,11 @@
)
;; just use evil-jump item
(progn
- (funcall fn (point))
- (evil-jump-item NUM)
+ ;; evil has its own API, so normail Emacs API may not work
+ (if (eq fn 'evilmi--push-mark)
+ (evil-visual-char)
+ )
+ (evil-jump-item)
)
)
)
diff --git a/pkg.sh b/pkg.sh
index e5739d8b42..a164d318c2 100755
--- a/pkg.sh
+++ b/pkg.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-pkg=evil-matchit-0.0.2
+pkg=evil-matchit-0.0.3
mkdir $pkg
cp README.org $pkg
cp *.el $pkg