From 57577884641d7c8ea5af714cd086029eeee9c45f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 28 Mar 2007 13:24:21 +0000 Subject: (edebug-display): Don't go to edebug-outside-buffer if it is dead. --- lisp/emacs-lisp/edebug.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/emacs-lisp') diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 2777ea775e9..151bbd2bd9e 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el @@ -2755,7 +2755,8 @@ MSG is printed after `::::} '." ) ; if edebug-save-windows ;; Restore current buffer always, in case application needs it. - (set-buffer edebug-outside-buffer) + (if (buffer-name edebug-outside-buffer) + (set-buffer edebug-outside-buffer)) ;; Restore point, and mark. ;; Needed even if restoring windows because ;; that doesn't restore point and mark in the current buffer. -- cgit v1.2.3