diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2009-11-06 19:12:55 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2009-11-06 19:12:55 +0000 |
commit | 0ad57dfdc5c4c7df6800c9b4fe2000f34188a7b4 (patch) | |
tree | 422086e79c4d8ce685ef73c9a5df803ecf216c72 /lisp/emacs-lisp | |
parent | 2de9f71c22f9def6adaa6782eea25bc569cb8561 (diff) | |
download | emacs-0ad57dfdc5c4c7df6800c9b4fe2000f34188a7b4.tar.gz emacs-0ad57dfdc5c4c7df6800c9b4fe2000f34188a7b4.tar.bz2 emacs-0ad57dfdc5c4c7df6800c9b4fe2000f34188a7b4.zip |
* emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
statement.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/autoload.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index f15863f2631..5171d142c24 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -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" |