`error', set isearch-invalid-regexp to the whole error message.
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.
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