branch: elpa/evil-matchit
commit b01763bf766a7449626e6216c2d360ae1e80e5c1
Author: Chen Bin <[email protected]>
Commit: Chen Bin <[email protected]>
initialize evilmi-plugins only once v2.1.5
---
README.org | 2 +-
evil-matchit-pkg.el | 2 +-
evil-matchit.el | 11 ++++++-----
pkg.sh | 2 +-
4 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/README.org b/README.org
index e18014dd44..010964cb7f 100644
--- a/README.org
+++ b/README.org
@@ -1,4 +1,4 @@
-* evil-matchit (v2.1.4)
+* evil-matchit (v2.1.5)
[[http://melpa.org/#/evil-matchit][file:http://melpa.org/packages/evil-matchit-badge.svg]]
[[http://stable.melpa.org/#/evil-matchit][file:http://stable.melpa.org/packages/evil-matchit-badge.svg]]
diff --git a/evil-matchit-pkg.el b/evil-matchit-pkg.el
index 8f1268badd..057754492e 100644
--- a/evil-matchit-pkg.el
+++ b/evil-matchit-pkg.el
@@ -1,2 +1,2 @@
-(define-package "evil-matchit" "2.1.4"
+(define-package "evil-matchit" "2.1.5"
"Vim matchit ported into Emacs (requires EVIL)")
diff --git a/evil-matchit.el b/evil-matchit.el
index b0513bd40e..ea88c27ee0 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: 2.1.4
+;; Version: 2.1.5
;; Keywords: matchit vim evil
;; Package-Requires: ((evil "1.0.7"))
;;
@@ -449,7 +449,7 @@ If font-face-under-cursor is NOT nil, the quoted string is
being processed"
(evilmi--operate-on-item NUM))))
;;;###autoload
-(defun evilmi-version() (interactive) (message "2.1.4"))
+(defun evilmi-version() (interactive) (message "2.1.5"))
;;;###autoload
(define-minor-mode evil-matchit-mode
@@ -465,8 +465,7 @@ If font-face-under-cursor is NOT nil, the quoted string is
being processed"
(evil-define-key 'normal evil-matchit-mode-map "%" 'evilmi-jump-items)
(evil-define-key 'visual evil-matchit-mode-map "%" 'evilmi-jump-items))
- (evil-normalize-keymaps)
- (evilmi-init-plugins))
+ (evil-normalize-keymaps))
;;;###autoload
(defun turn-on-evil-matchit-mode ()
@@ -483,6 +482,8 @@ If font-face-under-cursor is NOT nil, the quoted string is
being processed"
evil-matchit-mode turn-on-evil-matchit-mode
"Global minor mode to emulate matchit.vim")
-(provide 'evil-matchit)
+;; initialize evilmi-plugins only once
+(evilmi-init-plugins)
+(provide 'evil-matchit)
;;; evil-matchit.el ends here
diff --git a/pkg.sh b/pkg.sh
index bd59e0d30c..82131d0828 100755
--- a/pkg.sh
+++ b/pkg.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-pkg=evil-matchit-2.1.4
+pkg=evil-matchit-2.1.5
mkdir $pkg
cp README.org $pkg
cp *.el $pkg