branch: elpa/evil
commit 729d9a58b387704011a115c9200614e32da3cefc
Author: hiecaq <[email protected]>
Commit: Tom Dalziel <[email protected]>

    Fix evil-up-paren for Emacs 31
---
 evil-common.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/evil-common.el b/evil-common.el
index aaeb8e1b72b..396715c297b 100644
--- a/evil-common.el
+++ b/evil-common.el
@@ -1355,7 +1355,7 @@ last successful match (that caused COUNT to reach zero)."
   ;; Always use the default `forward-sexp-function'. This is important
   ;; for modes that use a custom one like `python-mode'.
   ;; (addresses #364)
-  (let (forward-sexp-function)
+  (let (forward-sexp-function up-list-function)
     (with-syntax-table (copy-syntax-table (syntax-table))
       (modify-syntax-entry open (format "(%c" close))
       (modify-syntax-entry close (format ")%c" open))

Reply via email to