changeset 72187:a17769ba1089

* loadhist.el (unload-feature): Handle new `(t . SYMBOL)' format for load-history elements.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 29 Jul 2006 15:05:50 +0000
parents 391851b59b5a
children 6100ca974994
files lisp/ChangeLog lisp/loadhist.el
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Jul 29 12:06:07 2006 +0000
+++ b/lisp/ChangeLog	Sat Jul 29 15:05:50 2006 +0000
@@ -1,3 +1,8 @@
+2006-07-29  Chong Yidong  <cyd@stupidchicken.com>
+
+	* loadhist.el (unload-feature): Handle new `(t . SYMBOL)' format
+	for load-history elements.
+
 2006-07-29  Eli Zaretskii  <eliz@gnu.org>
 
 	* files.el (convert-standard-filename): For Cygwin, replace
--- a/lisp/loadhist.el	Sat Jul 29 12:06:07 2006 +0000
+++ b/lisp/loadhist.el	Sat Jul 29 15:05:50 2006 +0000
@@ -222,8 +222,8 @@
 		  (if aload
                       (fset fun (cons 'autoload aload))
                     (fmakunbound fun))))))
-           (require nil)
-           (t (message "Unexpected element %s in load-history" x)))
+           ((t require) nil)
+	   (t (message "Unexpected element %s in load-history" x)))
 	;; Kill local values as much as possible.
 	(dolist (buf (buffer-list))
 	  (with-current-buffer buf