]> git.eshelyaron.com Git - emacs.git/commitdiff
(desktop-save): Don't look at symbol-value of a
authorEli Zaretskii <eliz@gnu.org>
Wed, 16 Aug 2000 18:19:47 +0000 (18:19 +0000)
committerEli Zaretskii <eliz@gnu.org>
Wed, 16 Aug 2000 18:19:47 +0000 (18:19 +0000)
member of minor-mode-alist, unless it is boundp.

lisp/ChangeLog
lisp/desktop.el

index f7a25e44de371ae32c26738e7586d6ce90bb913e..c55e2d0aed9717cab8c8305ef96f618c6d4460f1 100644 (file)
@@ -1,3 +1,8 @@
+2000-08-16  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * 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  <sds@gnu.org>
 
        * buff-menu.el (list-buffers-noselect): Use `dolist' instead of
index e59d57c07fc626e5312a80504ed132a10ae2c81b..dd26daa097083903c9e2a12727675d5ce1345d6c 100644 (file)
@@ -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