changeset 30853:5c3610702605

(desktop-save): Don't look at symbol-value of a member of minor-mode-alist, unless it is boundp.
author Eli Zaretskii <eliz@gnu.org>
date Wed, 16 Aug 2000 18:18:08 +0000
parents e12c02781da9
children e9f90c0f204c
files lisp/desktop.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/desktop.el	Wed Aug 16 15:17:24 2000 +0000
+++ b/lisp/desktop.el	Wed Aug 16 18:18:08 2000 +0000
@@ -458,7 +458,8 @@
 			       (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