diff options
| author | Richard M. Stallman | 1997-05-29 06:32:44 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-05-29 06:32:44 +0000 |
| commit | e76b547b88446ac5581122f3b2a681cc62fab3ba (patch) | |
| tree | b5e94380a3f1df66120a9f3967cc85fe90c4e2cc /lisp | |
| parent | 88039caa2b0561b8bee4d0381604a9c78a1dffa5 (diff) | |
| download | emacs-e76b547b88446ac5581122f3b2a681cc62fab3ba.tar.gz emacs-e76b547b88446ac5581122f3b2a681cc62fab3ba.zip | |
(edebug-signal): Avoid infinite recursion.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/emacs-lisp/edebug.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 04e5e63b3ee..9839a38940d 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | ;; LCD Archive Entry: | 9 | ;; LCD Archive Entry: |
| 10 | ;; edebug|Daniel LaLiberte|liberte@cs.uiuc.edu | 10 | ;; edebug|Daniel LaLiberte|liberte@cs.uiuc.edu |
| 11 | ;; |A source level debugger for Emacs Lisp. | 11 | ;; |A source level debugger for Emacs Lisp. |
| 12 | ;; |$Date: 1997/04/14 20:57:39 $|$Revision: 3.15 $|~/modes/edebug.el| | 12 | ;; |$Date: 1997/05/05 01:03:53 $|$Revision: 3.16 $|~/modes/edebug.el| |
| 13 | 13 | ||
| 14 | ;; This file is part of GNU Emacs. | 14 | ;; This file is part of GNU Emacs. |
| 15 | 15 | ||
| @@ -86,7 +86,7 @@ | |||
| 86 | ;;; Code: | 86 | ;;; Code: |
| 87 | 87 | ||
| 88 | (defconst edebug-version | 88 | (defconst edebug-version |
| 89 | (let ((raw-version "$Revision: 3.15 $")) | 89 | (let ((raw-version "$Revision: 3.16 $")) |
| 90 | (substring raw-version (string-match "[0-9.]*" raw-version) | 90 | (substring raw-version (string-match "[0-9.]*" raw-version) |
| 91 | (match-end 0)))) | 91 | (match-end 0)))) |
| 92 | 92 | ||
| @@ -2260,7 +2260,9 @@ error is signaled again." | |||
| 2260 | (edebug 'error (cons edebug-signal-name edebug-signal-data))) | 2260 | (edebug 'error (cons edebug-signal-name edebug-signal-data))) |
| 2261 | ;; If we reach here without another non-local exit, then send signal again. | 2261 | ;; If we reach here without another non-local exit, then send signal again. |
| 2262 | ;; i.e. the signal is not continuable, yet. | 2262 | ;; i.e. the signal is not continuable, yet. |
| 2263 | (signal edebug-signal-name edebug-signal-data)) | 2263 | ;; Avoid infinite recursion. |
| 2264 | (let ((signal-hook-function nil)) | ||
| 2265 | (signal edebug-signal-name edebug-signal-data))) | ||
| 2264 | 2266 | ||
| 2265 | ;;; Entering Edebug | 2267 | ;;; Entering Edebug |
| 2266 | 2268 | ||