[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/anzu a08ff2f7db 215/288: Wrap migemo-forward with ignore-e
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/anzu a08ff2f7db 215/288: Wrap migemo-forward with ignore-errors |
Date: |
Thu, 6 Jan 2022 03:58:53 -0500 (EST) |
branch: elpa/anzu
commit a08ff2f7dba70c42f5eb9b87082ad32d0a0087eb
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>
Wrap migemo-forward with ignore-errors
migemo-forward raises exception for invalid migemo pattern.
---
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))
- [nongnu] elpa/anzu 4ab2b65dcb 201/288: Bump up version and update Changes, (continued)
- [nongnu] elpa/anzu 4ab2b65dcb 201/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 97976620ae 222/288: Merge pull request #64 from akicho8/fix-region-word-replace, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu f29278e5bd 218/288: Silence byte-compiler, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 31f70860ef 220/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 5684b4b601 199/288: Check replaced regexp is valid, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 3e34fb3df5 279/288: update anzu--use-result-cache-p as in PR #93, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 494f1d9d39 195/288: Support highlighting match groups, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 12612a2b4f 202/288: Update document of custom function, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 27e3a89622 203/288: Correct misspellings, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu b80dc0ca92 210/288: Merge pull request #59 from syohex/buffer-local-status, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu a08ff2f7db 215/288: Wrap migemo-forward with ignore-errors,
ELPA Syncer <=
- [nongnu] elpa/anzu f2aad769c1 227/288: Update copyright year, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu ff54963946 232/288: Merge pull request #67 from syohex/refactoring, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 116501bf9e 216/288: Merge pull request #62 from syohex/fix-migemo, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu a35649e401 017/288: Update document, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 84183d2a79 022/288: update document, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu f4618cd335 023/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu cc427254a0 040/288: Introduce search threshold, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 591b27621c 047/288: Merge pull request #11 from syohex/support-query-replace, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 1fc36f460c 046/288: Implement anzu-query-regexp and anzu-query-regexp, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu cdee5811bb 048/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06