From: Eli Zaretskii Date: Wed, 16 Aug 2000 18:19:47 +0000 (+0000) Subject: (desktop-save): Don't look at symbol-value of a X-Git-Tag: emacs-pretest-21.0.90~2264 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=69db7ee70f8d895a017deb1d3078897ecb985737;p=emacs.git (desktop-save): Don't look at symbol-value of a member of minor-mode-alist, unless it is boundp. --- 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