Mercurial > hg > xemacs-beta
diff lisp/utils/autoload.el @ 185:3d6bfa290dbd r20-3b19
Import from CVS: tag r20-3b19
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:55:28 +0200 |
parents | e121b013d1f0 |
children | b405438285a2 |
line wrap: on
line diff
--- a/lisp/utils/autoload.el Mon Aug 13 09:54:24 2007 +0200 +++ b/lisp/utils/autoload.el Mon Aug 13 09:55:28 2007 +0200 @@ -607,6 +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\"))") (goto-char (point-max)) (insert "\n(provide '" sym ")\n")))))