diff options
| author | Chong Yidong | 2009-11-06 19:12:55 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-11-06 19:12:55 +0000 |
| commit | 0ad57dfdc5c4c7df6800c9b4fe2000f34188a7b4 (patch) | |
| tree | 422086e79c4d8ce685ef73c9a5df803ecf216c72 | |
| parent | 2de9f71c22f9def6adaa6782eea25bc569cb8561 (diff) | |
| download | emacs-0ad57dfdc5c4c7df6800c9b4fe2000f34188a7b4.tar.gz emacs-0ad57dfdc5c4c7df6800c9b4fe2000f34188a7b4.zip | |
* emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
statement.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/autoload.el | 11 |
2 files changed, 10 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 380f208b2b1..2ac43c58125 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-11-06 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide | ||
| 4 | statement. | ||
| 5 | |||
| 1 | 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu> | 6 | 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 7 | ||
| 3 | * progmodes/ld-script.el (auto-mode-alist): | 8 | * progmodes/ld-script.el (auto-mode-alist): |
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." | |||
| 266 | ";;; Code:\n\n" | 266 | ";;; Code:\n\n" |
| 267 | "\n" | 267 | "\n" |
| 268 | ;; This is used outside of autoload.el. | 268 | ;; This is used outside of autoload.el. |
| 269 | (if feature | 269 | "(provide '" |
| 270 | (concat "(provide '" | 270 | (if (stringp feature) |
| 271 | (if (stringp feature) feature | 271 | feature |
| 272 | (file-name-sans-extension basename)) | 272 | (file-name-sans-extension basename)) |
| 273 | ")\n") | 273 | ")\n" |
| 274 | "") | ||
| 275 | ";; Local Variables:\n" | 274 | ";; Local Variables:\n" |
| 276 | ";; version-control: never\n" | 275 | ";; version-control: never\n" |
| 277 | ";; no-byte-compile: t\n" | 276 | ";; no-byte-compile: t\n" |