changeset 35234:c6a74e51d185

(isearch-search): In the condition-case handler for `error', set isearch-invalid-regexp to the whole error message.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 11 Jan 2001 15:30:22 +0000
parents f5e1761e4c75
children 0623eaa00b2b
files lisp/isearch.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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