changeset 18017:4c3a2b58fd72

(edebug-signal): Avoid infinite recursion.
author Richard M. Stallman <rms@gnu.org>
date Thu, 29 May 1997 06:32:44 +0000
parents 22cbed2e6098
children 2a11f1e4bd6b
files lisp/emacs-lisp/edebug.el
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/edebug.el	Thu May 29 05:23:39 1997 +0000
+++ b/lisp/emacs-lisp/edebug.el	Thu May 29 06:32:44 1997 +0000
@@ -9,7 +9,7 @@
 ;; LCD Archive Entry:
 ;; edebug|Daniel LaLiberte|liberte@cs.uiuc.edu
 ;; |A source level debugger for Emacs Lisp.
-;; |$Date: 1997/04/14 20:57:39 $|$Revision: 3.15 $|~/modes/edebug.el|
+;; |$Date: 1997/05/05 01:03:53 $|$Revision: 3.16 $|~/modes/edebug.el|
 
 ;; This file is part of GNU Emacs.
 
@@ -86,7 +86,7 @@
 ;;; Code:
 
 (defconst edebug-version
-  (let ((raw-version "$Revision: 3.15 $"))
+  (let ((raw-version "$Revision: 3.16 $"))
     (substring raw-version (string-match "[0-9.]*" raw-version)
 	       (match-end 0))))
      
@@ -2260,7 +2260,9 @@
       (edebug 'error (cons edebug-signal-name edebug-signal-data)))
   ;; If we reach here without another non-local exit, then send signal again.
   ;; i.e. the signal is not continuable, yet.
-  (signal edebug-signal-name edebug-signal-data))
+  ;; Avoid infinite recursion.
+  (let ((signal-hook-function nil))
+    (signal edebug-signal-name edebug-signal-data)))
 
 ;;; Entering Edebug