diff options
author | Juri Linkov <juri@linkov.net> | 2020-03-29 01:41:29 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2020-03-29 01:41:29 +0200 |
commit | d1b8179f55da75fce313118502ba65444ee1dc98 (patch) | |
tree | bb08523c41a9d43fc7da2f1cbe5e9f87577e1886 /lisp/emacs-lisp | |
parent | 4f41188a6e1eb0ce832bd74907642f30ada344d9 (diff) | |
download | emacs-d1b8179f55da75fce313118502ba65444ee1dc98.tar.gz emacs-d1b8179f55da75fce313118502ba65444ee1dc98.tar.bz2 emacs-d1b8179f55da75fce313118502ba65444ee1dc98.zip |
Switch to literal mode with message when regexp is too big in char-fold search
* lisp/char-fold.el (char-fold-to-regexp): Don't use regexp-quote
when the length of regexp reaches 5000. (Bug#40216)
* lisp/isearch.el (isearch-search): On big regexp in char-fold mode
gracefully fall back to literal mode, try to search again and display
momentary-message about switching to literal mode.
(isearch--momentary-message): Add optional arg SECONDS.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions