changeset 92944:6dea71380597

(desktop-create-buffer): Don't catch errors if debug-on-error is set.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 14 Mar 2008 17:08:49 +0000
parents 43dad863df3b
children eec1450e060e
files lisp/ChangeLog lisp/desktop.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Mar 14 16:49:31 2008 +0000
+++ b/lisp/ChangeLog	Fri Mar 14 17:08:49 2008 +0000
@@ -1,3 +1,8 @@
+2008-03-14  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* desktop.el (desktop-create-buffer): Don't catch errors if
+	debug-on-error is set.
+
 2008-03-14  Eli Zaretskii  <eliz@gnu.org>
 
 	* makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
--- a/lisp/desktop.el	Fri Mar 14 16:49:31 2008 +0000
+++ b/lisp/desktop.el	Fri Mar 14 17:08:49 2008 +0000
@@ -1130,7 +1130,7 @@
     (desktop-load-file desktop-buffer-major-mode)
     (let ((buffer-list (buffer-list))
           (result
-           (condition-case err
+           (condition-case-no-debug err
                (funcall (or (cdr (assq desktop-buffer-major-mode
                                        desktop-buffer-mode-handlers))
                             'desktop-restore-file-buffer)