]> code.delx.au - gnu-emacs/blobdiff - lisp/loadhist.el
(command-line-1): Kill emacs if the last frame is deleted while
[gnu-emacs] / lisp / loadhist.el
index 635059f93e534b467f31bc99628ea6249c2a41c5..61f15c8ef1c067d4d7a9338cfc6099ffd34e3d0f 100644 (file)
@@ -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