aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/desktop.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/desktop.el')
-rw-r--r--lisp/desktop.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/desktop.el b/lisp/desktop.el
index e59d57c07f..dd26daa097 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -458,7 +458,8 @@ MODE is the major mode."
(let (ret)
(mapcar
#'(lambda (mim)
- (and (symbol-value mim)
+ (and (boundp mim)
+ (symbol-value mim)
(setq ret
(cons (let ((special (assq mim desktop-minor-mode-table)))
(if special