Mercurial > emacs
changeset 76782:f960587873db
(edebug-display): Don't go to edebug-outside-buffer if it is dead.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 28 Mar 2007 13:23:42 +0000 |
parents | 99550c24170f |
children | 0d377788e0e2 |
files | lisp/emacs-lisp/edebug.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/edebug.el Wed Mar 28 09:16:41 2007 +0000 +++ b/lisp/emacs-lisp/edebug.el Wed Mar 28 13:23:42 2007 +0000 @@ -2755,7 +2755,8 @@ ) ; 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.