changeset 4332:6ad202d453cb

Insert <immediate> into section header for immediate autoloads. 2007-12-18 Mike Sperber <mike@xemacs.org> * autoload.el (process-one-lisp-autoload): Insert <immediate> into the section header for immediate autoloads, to make sure the upstream doesn't think there aren't any autoloads at all.
author Mike Sperber <sperber@deinprogramm.de>
date Thu, 20 Dec 2007 08:49:38 +0100
parents 4fbcce3f6097
children 89954a8cc73d
files lisp/ChangeLog lisp/autoload.el
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Dec 19 10:21:38 2007 +0100
+++ b/lisp/ChangeLog	Thu Dec 20 08:49:38 2007 +0100
@@ -1,3 +1,9 @@
+2007-12-18  Mike Sperber  <mike@xemacs.org>
+
+	* autoload.el (process-one-lisp-autoload): Insert <immediate> into
+	the section header for immediate autoloads, to make sure the
+	upstream doesn't think there aren't any autoloads at all.
+
 2007-12-14  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* process.el (substitute-env-vars):
--- a/lisp/autoload.el	Wed Dec 19 10:21:38 2007 +0100
+++ b/lisp/autoload.el	Thu Dec 20 08:49:38 2007 +0100
@@ -516,7 +516,8 @@
 	   (let ((begin (point)))
 	     (forward-sexp)
 	     (forward-line 1)
-	     (princ (buffer-substring begin (point)) outbuf)))
+	     (princ (buffer-substring begin (point)) outbuf))
+	   (setq autoloads-done (cons '<immediate> autoloads-done)))
 	  (t
 	   (princ (buffer-substring
 		   (progn