aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2009-11-06 19:12:55 +0000
committerChong Yidong2009-11-06 19:12:55 +0000
commit0ad57dfdc5c4c7df6800c9b4fe2000f34188a7b4 (patch)
tree422086e79c4d8ce685ef73c9a5df803ecf216c72
parent2de9f71c22f9def6adaa6782eea25bc569cb8561 (diff)
downloademacs-0ad57dfdc5c4c7df6800c9b4fe2000f34188a7b4.tar.gz
emacs-0ad57dfdc5c4c7df6800c9b4fe2000f34188a7b4.zip
* emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
statement.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/autoload.el11
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 @@
12009-11-06 Chong Yidong <cyd@stupidchicken.com>
2
3 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
4 statement.
5
12009-11-05 Dan Nicolaescu <dann@ics.uci.edu> 62009-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"