branch: elpa/evil-matchit
commit 65c2442fd8fd4618ddbe0f3df736762fbe073313
Author: Chen Bin <chenbin...@gmail.com>
Commit: Chen Bin <chenbin...@gmail.com>

    clean code
---
 evil-matchit-indent.el | 2 +-
 evil-matchit-python.el | 2 +-
 evil-matchit-sdk.el    | 2 +-
 evil-matchit-yaml.el   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/evil-matchit-indent.el b/evil-matchit-indent.el
index 63314d427b..087e22958f 100644
--- a/evil-matchit-indent.el
+++ b/evil-matchit-indent.el
@@ -89,7 +89,7 @@ SPACES-PER-TAB defines the number of spaces of one tab 
character."
 
 ;;;###autoload
 (defun evilmi-indent-get-tag ()
-  "Return '(start-position tag-type keyword)."
+  "Return a list containing start-position, tag-type, keyword."
   (let* (rlt
          (cur-line (evilmi-sdk-curline))
          next-line)
diff --git a/evil-matchit-python.el b/evil-matchit-python.el
index 17e2720410..978a7ac55f 100644
--- a/evil-matchit-python.el
+++ b/evil-matchit-python.el
@@ -103,7 +103,7 @@ Only python need this hack."
 
 ;;;###autoload
 (defun evilmi-python-get-tag ()
-  "Return '(start-position tag-type keyword)."
+  "Return a list containing start-position, tag-type, keyword."
   (let ((rlt (evilmi-indent-get-tag)))
     (when evilmi-debug
       (message "evilmi-python-get-tag called. rlt=%s" rlt))
diff --git a/evil-matchit-sdk.el b/evil-matchit-sdk.el
index e779349f16..a4762fc484 100644
--- a/evil-matchit-sdk.el
+++ b/evil-matchit-sdk.el
@@ -692,7 +692,7 @@ The last argument, LENGTH specifies that only LENGTH tokens 
are returned."
               ;; to work properly.  Lets try and move over
               ;; whatever white space we matched to begin
               ;; with.
-              (skip-syntax-forward "-.'" (point-at-eol)))
+              (skip-syntax-forward "-.'" (line-end-position)))
           (if (eq (point) comment-start-point)
               (error "Strange comment syntax prevents lexical analysis"))
           (setq ep (point))))
diff --git a/evil-matchit-yaml.el b/evil-matchit-yaml.el
index 410dba6c42..0469891111 100644
--- a/evil-matchit-yaml.el
+++ b/evil-matchit-yaml.el
@@ -34,7 +34,7 @@
 
 ;;;###autoload
 (defun evilmi-yaml-get-tag ()
-  "Return '(start-position tag-type keyword)."
+  "Return a list containing start-position, tag-type, keyword."
   (let* ((evilmi-spaces-per-tab 2)
          (rlt (evilmi-indent-get-tag)))
     (when (and evilmi-debug rlt)

Reply via email to