branch: elpa/evil-matchit
commit 080639aed39265f8f9f7e2ef8d3a6292939dffe2
Author: Chen Bin <[email protected]>
Commit: Chen Bin <[email protected]>
clean code and doc
---
evil-matchit-c.el | 2 +-
evil-matchit-cmake.el | 2 +-
evil-matchit-fortran.el | 2 +-
evil-matchit-html.el | 19 ++++++-------------
evil-matchit-javascript.el | 2 +-
evil-matchit-latex.el | 2 +-
evil-matchit-org.el | 2 +-
evil-matchit-python.el | 2 +-
evil-matchit-ruby.el | 2 +-
evil-matchit-script.el | 2 +-
evil-matchit-sh.el | 2 +-
evil-matchit-simple.el | 2 +-
evil-matchit-sql.el | 2 +-
evil-matchit-template.el | 2 +-
14 files changed, 19 insertions(+), 26 deletions(-)
diff --git a/evil-matchit-c.el b/evil-matchit-c.el
index 03ba93957d..6cec4c1083 100644
--- a/evil-matchit-c.el
+++ b/evil-matchit-c.el
@@ -1,6 +1,6 @@
;;; evil-matchit-c.el --c like language (c/c++/perl/java/javascript) plugin of
evil-matchit
-;; Copyright (C) 2014 Chen Bin <[email protected]>
+;; Copyright (C) 2014-2016 Chen Bin <[email protected]>
;; Author: Chen Bin <[email protected]>
diff --git a/evil-matchit-cmake.el b/evil-matchit-cmake.el
index 999ec2e661..c3971e5294 100644
--- a/evil-matchit-cmake.el
+++ b/evil-matchit-cmake.el
@@ -1,6 +1,6 @@
;;; evil-matchit-cmake.el ---cmake (ruby/lua) plugin of evil-matchit
-;; Copyright (C) 2014 Chen Bin <[email protected]>
+;; Copyright (C) 2014-2016 Chen Bin <[email protected]>
;; Author: Chen Bin <[email protected]>
diff --git a/evil-matchit-fortran.el b/evil-matchit-fortran.el
index 5bbeed072a..48c3341035 100644
--- a/evil-matchit-fortran.el
+++ b/evil-matchit-fortran.el
@@ -1,6 +1,6 @@
;;; evil-matchit-fortran.el ---fortran (ruby/lua) plugin of evil-matchit
-;; Copyright (C) 2014 Chen Bin <[email protected]>
+;; Copyright (C) 2014-2016 Chen Bin <[email protected]>
;; Author: Chen Bin <[email protected]>
diff --git a/evil-matchit-html.el b/evil-matchit-html.el
index 7a3220b402..a933d32936 100644
--- a/evil-matchit-html.el
+++ b/evil-matchit-html.el
@@ -1,6 +1,6 @@
;;; evil-matchit-html.el ---html plugin of evil-matchit
-;; Copyright (C) 2014 Chen Bin <[email protected]>
+;; Copyright (C) 2014-2016 Chen Bin <[email protected]>
;; Author: Chen Bin <[email protected]>
@@ -90,19 +90,12 @@
;;;###autoload
(defun evilmi-html-jump (rlt NUM)
- (let ((p (nth 0 rlt))
- (tag-type (nth 1 rlt))
- (tag-keyword (nth 2 rlt))
- backup-forward-sexp-function)
-
- ;; web-mode-forward-sexp is assigned to forward-sexp-function
- ;; it's buggy in web-mode v11, here is the workaround
- (setq backup-forward-sexp-function forward-sexp-function)
- (setq forward-sexp-function nil)
+ (let ((tag-type (nth 1 rlt))
+ ;; web-mode-forward-sexp is assigned to forward-sexp-function
+ ;; it's buggy in web-mode v11, here is the workaround
+ (forward-sexp-function nil))
(if (= 1 tag-type) (sgml-skip-tag-backward NUM))
(if (= 0 tag-type) (sgml-skip-tag-forward NUM))
- (setq forward-sexp-function backup-forward-sexp-function)
- (point)
- ))
+ (point)))
(provide 'evil-matchit-html)
diff --git a/evil-matchit-javascript.el b/evil-matchit-javascript.el
index e97687763b..020915d449 100644
--- a/evil-matchit-javascript.el
+++ b/evil-matchit-javascript.el
@@ -1,6 +1,6 @@
;;; evil-matchit-javascript.el --- simple match plugin of evil-matchit
-;; Copyright (C) 2014 Chen Bin <[email protected]>
+;; Copyright (C) 2014-2016 Chen Bin <[email protected]>
;; Author: Chen Bin <[email protected]>
diff --git a/evil-matchit-latex.el b/evil-matchit-latex.el
index 565d82d93f..a5e7c6af69 100644
--- a/evil-matchit-latex.el
+++ b/evil-matchit-latex.el
@@ -1,6 +1,6 @@
;;; evil-matchit-latex.el ---latex plugin of evil-matchit
-;; Copyright (C) 2014 Chen Bin <[email protected]>
+;; Copyright (C) 2014-2016 Chen Bin <[email protected]>
;; Author: Chen Bin <[email protected]>
diff --git a/evil-matchit-org.el b/evil-matchit-org.el
index 55a3d52553..beb8f54616 100644
--- a/evil-matchit-org.el
+++ b/evil-matchit-org.el
@@ -1,6 +1,6 @@
;;; evil-matchit-org.el --- org-mode plugin of evil-matchit
-;; Copyright (C) 2014 Chen Bin <[email protected]>
+;; Copyright (C) 2014-2016 Chen Bin <[email protected]>
;; Author: Chen Bin <[email protected]>
diff --git a/evil-matchit-python.el b/evil-matchit-python.el
index bc0dea1b71..22375b0770 100644
--- a/evil-matchit-python.el
+++ b/evil-matchit-python.el
@@ -1,6 +1,6 @@
;;; evil-matchit-python.el ---python plugin of evil-matchit
-;; Copyright (C) 2014 Chen Bin <[email protected]>
+;; Copyright (C) 2014-2016 Chen Bin <[email protected]>
;; Author: Chen Bin <[email protected]>
diff --git a/evil-matchit-ruby.el b/evil-matchit-ruby.el
index 42a82fc4a8..26730535ef 100644
--- a/evil-matchit-ruby.el
+++ b/evil-matchit-ruby.el
@@ -1,6 +1,6 @@
;;; evil-matchit-ruby.el ---ruby plugin of evil-matchit
-;; Copyright (C) 2014 Chen Bin <[email protected]>
+;; Copyright (C) 2014-2016 Chen Bin <[email protected]>
;; Author: Chen Bin <[email protected]>
diff --git a/evil-matchit-script.el b/evil-matchit-script.el
index ae321b365e..a2b64951cf 100644
--- a/evil-matchit-script.el
+++ b/evil-matchit-script.el
@@ -1,6 +1,6 @@
;;; evil-matchit-script.el ---script (ruby/lua) plugin of evil-matchit
-;; Copyright (C) 2014 Chen Bin <[email protected]>
+;; Copyright (C) 2014-2016 Chen Bin <[email protected]>
;; Author: Chen Bin <[email protected]>
diff --git a/evil-matchit-sh.el b/evil-matchit-sh.el
index 71277fb55c..4cd0d944fe 100644
--- a/evil-matchit-sh.el
+++ b/evil-matchit-sh.el
@@ -1,6 +1,6 @@
;;; evil-matchit-sh.el ---sh (bash/zsh) plugin of evil-matchit
-;; Copyright (C) 2014 Chen Bin <[email protected]>
+;; Copyright (C) 2014-2016 Chen Bin <[email protected]>
;; Author: Chen Bin <[email protected]>
diff --git a/evil-matchit-simple.el b/evil-matchit-simple.el
index 930985cf90..e686927ada 100644
--- a/evil-matchit-simple.el
+++ b/evil-matchit-simple.el
@@ -1,6 +1,6 @@
;;; evil-matchit-simple.el --- simple match plugin of evil-matchit
-;; Copyright (C) 2014 Chen Bin <[email protected]>
+;; Copyright (C) 2014-2016 Chen Bin <[email protected]>
;; Author: Chen Bin <[email protected]>
diff --git a/evil-matchit-sql.el b/evil-matchit-sql.el
index 5d2c32870a..d1dcc52700 100644
--- a/evil-matchit-sql.el
+++ b/evil-matchit-sql.el
@@ -1,6 +1,6 @@
;;; evil-matchit-sql.el ---sql plugin of evil-matchit
-;; Copyright (C) 2014 Chen Bin <[email protected]>
+;; Copyright (C) 2014-2016 Chen Bin <[email protected]>
;; Author: Chen Bin <[email protected]>
diff --git a/evil-matchit-template.el b/evil-matchit-template.el
index 058f80c438..214f9ba7f6 100644
--- a/evil-matchit-template.el
+++ b/evil-matchit-template.el
@@ -1,6 +1,6 @@
;;; evil-matchit-template.el --- web template plugin of evil-matchit
-;; Copyright (C) 2014 Chen Bin <[email protected]>
+;; Copyright (C) 2014-2016 Chen Bin <[email protected]>
;; Author: Chen Bin <[email protected]>