summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2020-03-29 01:41:29 +0200
committerJuri Linkov <juri@linkov.net>2020-03-29 01:41:29 +0200
commitd1b8179f55da75fce313118502ba65444ee1dc98 (patch)
treebb08523c41a9d43fc7da2f1cbe5e9f87577e1886 /lisp/emacs-lisp/comp.el
parent4f41188a6e1eb0ce832bd74907642f30ada344d9 (diff)
downloademacs-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/comp.el')
0 files changed, 0 insertions, 0 deletions