# HG changeset patch # User Gerd Moellmann # Date 979227022 0 # Node ID c6a74e51d18573df2a60aed8b74902570742f9ef # Parent f5e1761e4c7585eb72f86f307aa3efa7ef3a86ef (isearch-search): In the condition-case handler for `error', set isearch-invalid-regexp to the whole error message. diff -r f5e1761e4c75 -r c6a74e51d185 lisp/isearch.el --- a/lisp/isearch.el Thu Jan 11 14:24:22 2001 +0000 +++ b/lisp/isearch.el Thu Jan 11 15:30:22 2001 +0000 @@ -1583,8 +1583,8 @@ 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