mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-01 11:14:55 +00:00
(isearch-search): In the condition-case handler for
`error', set isearch-invalid-regexp to the whole error message.
This commit is contained in:
parent
50ca4be0b9
commit
c5348233d2
@ -1,5 +1,8 @@
|
||||
2001-01-11 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* isearch.el (isearch-search): In the condition-case handler for
|
||||
`error', set isearch-invalid-regexp to the whole error message.
|
||||
|
||||
* subr.el (eval-after-load): Call load-symbol-file-load-history to
|
||||
ensure that eval-after-load works for files dumped with Emacs.
|
||||
|
||||
|
@ -1583,8 +1583,8 @@ If there is no completion possible, say so and continue searching."
|
||||
isearch-invalid-regexp)
|
||||
(setq isearch-invalid-regexp "incomplete input")))
|
||||
(error
|
||||
;; stack overflow in regexp search.
|
||||
(setq isearch-invalid-regexp (car (cdr lossage)))))
|
||||
;; Stack overflow in regexp search, for instance.
|
||||
(setq isearch-invalid-regexp (format "%s" lossage))))
|
||||
|
||||
(if isearch-success
|
||||
nil
|
||||
|
Loading…
Reference in New Issue
Block a user