diff lisp/utils/autoload.el @ 187:b405438285a2 r20-3b20

Import from CVS: tag r20-3b20
author cvs
date Mon, 13 Aug 2007 09:56:28 +0200
parents 3d6bfa290dbd
children 489f57a838ef
line wrap: on
line diff
--- a/lisp/utils/autoload.el	Mon Aug 13 09:55:30 2007 +0200
+++ b/lisp/utils/autoload.el	Mon Aug 13 09:56:28 2007 +0200
@@ -607,8 +607,8 @@
 	     (not (looking-at ";;; DO NOT MODIFY THIS FILE")))
 	(progn
 	  (insert ";;; DO NOT MODIFY THIS FILE\n")
-	  (insert "(if (featurep '" sym "-autoloads)")
-	  (insert " (error \"Already loaded\"))")
+	  (insert "(if (featurep '" sym ")")
+	  (insert " (error \"Already loaded\"))\n")
 	  (goto-char (point-max))
 	  (insert "\n(provide '" sym ")\n")))))