summaryrefslogtreecommitdiff
path: root/lisp/loadhist.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2006-07-29 15:05:50 +0000
committerChong Yidong <cyd@stupidchicken.com>2006-07-29 15:05:50 +0000
commitc888d352a6ab60016749103398ab21b188634349 (patch)
tree1e36a7382795b1a425a8586d172f3ae18c6ec944 /lisp/loadhist.el
parent65bbcead0e04927e97d4719fdd8d74f40f20d6d0 (diff)
downloademacs-c888d352a6ab60016749103398ab21b188634349.tar.gz
* loadhist.el (unload-feature): Handle new `(t . SYMBOL)' format
for load-history elements.
Diffstat (limited to 'lisp/loadhist.el')
-rw-r--r--lisp/loadhist.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/loadhist.el b/lisp/loadhist.el
index 635059f93e5..61f15c8ef1c 100644
--- a/lisp/loadhist.el
+++ b/lisp/loadhist.el
@@ -222,8 +222,8 @@ such as redefining an Emacs function."
(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