summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2007-03-28 13:24:21 +0000
committerRichard M. Stallman <rms@gnu.org>2007-03-28 13:24:21 +0000
commit57577884641d7c8ea5af714cd086029eeee9c45f (patch)
tree430048ca9b909453a65580c39f5226fba4e47cc2 /lisp/emacs-lisp
parent38acf670fb405e26d1f749aa2d465db688e321e3 (diff)
downloademacs-57577884641d7c8ea5af714cd086029eeee9c45f.tar.gz
emacs-57577884641d7c8ea5af714cd086029eeee9c45f.tar.bz2
emacs-57577884641d7c8ea5af714cd086029eeee9c45f.zip
(edebug-display): Don't go to edebug-outside-buffer if it is dead.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/edebug.el3
1 files changed, 2 insertions, 1 deletions
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.