summaryrefslogtreecommitdiff
path: root/lisp/desktop.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2008-03-14 17:08:49 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2008-03-14 17:08:49 +0000
commit116d5bc76a7c554b102813409694399765e35355 (patch)
treeaec51084588099b81d8b011b9667cff2e282606a /lisp/desktop.el
parentc79a07d79534a2f7c207379e0809f763e0feda6f (diff)
downloademacs-116d5bc76a7c554b102813409694399765e35355.tar.gz
(desktop-create-buffer): Don't catch errors if debug-on-error is set.
Diffstat (limited to 'lisp/desktop.el')
-rw-r--r--lisp/desktop.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/desktop.el b/lisp/desktop.el
index d52890e2a93..d1f6d214e20 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -1130,7 +1130,7 @@ directory DIRNAME."
(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)