* emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
statement.
This commit is contained in:
parent
2de9f71c22
commit
0ad57dfdc5
2 changed files with 10 additions and 6 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue