* emacs-lisp/autoload.el (autoload-rubric): Always issue a provide

statement.
This commit is contained in:
Chong Yidong 2009-11-06 19:12:55 +00:00
parent 2de9f71c22
commit 0ad57dfdc5
2 changed files with 10 additions and 6 deletions

View file

@ -266,12 +266,11 @@ feature, otherwise it will be based on FILE's name."
";;; Code:\n\n"
" \n"
;; This is used outside of autoload.el.
(if feature
(concat "(provide '"
(if (stringp feature) feature
(file-name-sans-extension basename))
")\n")
"")
"(provide '"
(if (stringp feature)
feature
(file-name-sans-extension basename))
")\n"
";; Local Variables:\n"
";; version-control: never\n"
";; no-byte-compile: t\n"