emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/anzu 116501bf9e 216/288: Merge pull request #62 from syohe


From: ELPA Syncer
Subject: [nongnu] elpa/anzu 116501bf9e 216/288: Merge pull request #62 from syohex/fix-migemo
Date: Thu, 6 Jan 2022 03:58:53 -0500 (EST)

branch: elpa/anzu
commit 116501bf9ec4f155afd71a6d82bcef86e55b5882
Merge: 41f19cd2c2 a08ff2f7db
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>

    Merge pull request #62 from syohex/fix-migemo
    
    Wrap migemo-forward with ignore-errors
---
 anzu.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/anzu.el b/anzu.el
index 1fde3cbe38..268a5ddf26 100644
--- a/anzu.el
+++ b/anzu.el
@@ -204,7 +204,9 @@
               (overflow nil)
               (finish nil)
               (search-func (if (anzu--use-migemo-p)
-                               'migemo-forward
+                               (lambda (word &optional bound noerror count)
+                                 (ignore-errors
+                                   (migemo-forward word bound noerror count)))
                              're-search-forward))
               (case-fold-search (anzu--case-fold-search input)))
           (while (and (not finish) (funcall search-func input nil t))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]