# HG changeset patch # User Chong Yidong # Date 1251867878 0 # Node ID 43eb1ff3a97628cd13014168cfa2b8e840b3ec26 # Parent 2bf481006ba40d9c5ff4babd06e88d3804a19c38 Fix last change. diff -r 2bf481006ba4 -r 43eb1ff3a976 lisp/emacs-lisp/autoload.el --- a/lisp/emacs-lisp/autoload.el Wed Sep 02 04:37:10 2009 +0000 +++ b/lisp/emacs-lisp/autoload.el Wed Sep 02 05:04:38 2009 +0000 @@ -252,7 +252,8 @@ ";;; Code:\n\n" " \n" "(provide '" - (if (symbolp generated-autoload-feature) + (if (and (symbolp generated-autoload-feature) + generated-autoload-feature) (format "%s" generated-autoload-feature) (file-name-sans-extension basename)) ")\n"