From 69db7ee70f8d895a017deb1d3078897ecb985737 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 16 Aug 2000 18:19:47 +0000 Subject: [PATCH] (desktop-save): Don't look at symbol-value of a member of minor-mode-alist, unless it is boundp. --- lisp/ChangeLog | 5 +++++ lisp/desktop.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f7a25e44de3..c55e2d0aed9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2000-08-16 Eli Zaretskii + + * desktop.el (desktop-save): Don't look at symbol-value of a + member of minor-mode-alist, unless it is boundp. + 2000-08-16 Sam Steingold * buff-menu.el (list-buffers-noselect): Use `dolist' instead of diff --git a/lisp/desktop.el b/lisp/desktop.el index e59d57c07fc..dd26daa0970 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 -- 2.39.2