branch: elpa/anzu
commit 116501bf9ec4f155afd71a6d82bcef86e55b5882
Merge: 41f19cd2c2 a08ff2f7db
Author: Syohei YOSHIDA <[email protected]>
Commit: Syohei YOSHIDA <[email protected]>

    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