]> git.eshelyaron.com Git - emacs.git/commitdiff
(edebug-display): Don't go to edebug-outside-buffer if it is dead.
authorRichard M. Stallman <rms@gnu.org>
Wed, 28 Mar 2007 13:24:21 +0000 (13:24 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 28 Mar 2007 13:24:21 +0000 (13:24 +0000)
lisp/ChangeLog
lisp/emacs-lisp/edebug.el

index 24252af8386400f7c9ab607c1331f7dba4e142ae..b6f925e27cf29f28017b1973075774190dcd7387 100644 (file)
@@ -1,3 +1,8 @@
+2007-03-28  Richard Stallman  <rms@gnu.org>
+
+       * emacs-lisp/edebug.el (edebug-display): Don't go to
+       edebug-outside-buffer if it is dead.
+
 2007-03-28  Juanma Barranquero  <lekktu@gmail.com>
 
        * view.el (view-mode): Fix typos in docstring.
index 2777ea775e9a8285c6b8fbbe43a0c0aadb86e459..151bbd2bd9eb87b63588c25e8551a060f4c39b3e 100644 (file)
@@ -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.