branch: elpa/evil-matchit
commit ceb13ad1b34eb0debe2472c024841bdddce9e593
Author: Chen Bin <[email protected]>
Commit: Chen Bin <[email protected]>

    use more generic  when processing C
---
 evil-matchit-c.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/evil-matchit-c.el b/evil-matchit-c.el
index eb27ecc9f0..8bb865f518 100644
--- a/evil-matchit-c.el
+++ b/evil-matchit-c.el
@@ -61,7 +61,7 @@
                (not pos))
       (goto-char old-pos)
       ;; Goto outer bracket
-      (c-beginning-of-defun)
+      (backward-up-list)
       (setq pos (beginning-of-line)))
     pos))
 

Reply via email to