Commit graph

94 commits

Author SHA1 Message Date
Richard M. Stallman
ce5aaa0c3d (batch-update-autoloads): Use error-message-string. 1996-01-05 02:08:29 +00:00
Roland McGrath
6e21af5626 (generate-file-autoloads): Preserve whitespace after cookie in literal text
copied to output; eat only a single space.
1996-01-04 20:08:50 +00:00
Roland McGrath
66fc2bf5cf (generate-file-autoloads): If no buffer visiting FILE exists, read it into
a temp buffer for processing without visiting it.
1995-12-14 05:08:02 +00:00
Karl Heuer
5950a4fce1 (make-autoload): Generate `(autoload ...)' form for
`(define-skeleton ...)'
1995-07-07 19:20:09 +00:00
Richard M. Stallman
d0cb5e047d (generate-file-autoloads): Warn if we put a line
in loaddefs.el that is long enough to cause trouble.
1994-09-17 20:02:15 +00:00
Richard M. Stallman
07b3798c76 Comment change. 1994-06-17 20:04:22 +00:00
Richard M. Stallman
1eb0a345ce (autoload-trim-file-name): Make it relative
to the directory that loaddefs.el is in.
1994-05-12 18:54:57 +00:00
Karl Heuer
73e4e0eb1a (update-autoloads-here): Split up long message. 1994-05-12 14:45:30 +00:00
Karl Heuer
57cf354dc9 (update-file-autoloads): Delete leftover variable. 1994-05-11 04:40:25 +00:00
Richard M. Stallman
00ee57f3f2 Comment change. 1994-05-10 20:03:45 +00:00
Richard M. Stallman
9f4b7963c9 (update-directory-autoloads): Ignore files
whose names start with =.  Bind enable-local-eval to nil.
1994-05-06 08:11:04 +00:00
Richard M. Stallman
ad9c7f2b76 (generate-file-autoloads): Don't ignore the line
after the form marked by a ;;;###autoload\n.
1994-03-10 04:18:10 +00:00
Roland McGrath
52859db83c (generate-file-autoloads): Move misplaced paren in match clause of cond
so copying the rest of the line to the output is the else clause of if
(eolp), not after the if.
1994-03-03 22:13:45 +00:00
Roland McGrath
9ed4d64fd3 (generate-file-autoloads): Don't frob literal formfeeds into \f; just bind
print-escape-newlines to t around printing (now has same effect).
1994-02-08 23:03:09 +00:00
Karl Heuer
e15068c4db (batch-update-autoloads): Add missing close paren. 1994-02-08 04:53:09 +00:00
Roland McGrath
72c19d97c1 (autoload-trim-file-name): New function.
(generate-file-autoloads): Bind print-readably to t for Lucid.
Use autoload-trim-file-name on FILE when inserting the name.
Scan written text and fix up ^L to \f and ( at bol to \(.
(update-file-autoloads): When we find a later file's section, set FOUND to
'new.  If FOUND is 'new after loop, check file for autoload cookies and
don't call generate-file-autoloads if none.
(update-directory-autoloads): Get absolute file names from directory-files.
(batch-update-autoloads): Rewrite from jwz to process later files in a
directory after one file errs.
1994-02-07 22:19:05 +00:00
Roland McGrath
d55e3ff0cc (update-file-autoloads): Never ask the user where to put a new section.
While searching the file, look for an alphabetically later file's section,
and insert the new section before it.
1994-02-07 05:08:36 +00:00
Richard M. Stallman
aa7ea8bd6e (generate-file-autoloads): Set float-output-format to
nil, not "%.20e", since nil is guaranteed to not lose info on output.
1993-08-11 06:38:38 +00:00
Richard M. Stallman
0a933d4b4f (generate-file-autoloads): Bind float-output-format.
Bind print-escape-newlines.
1993-07-21 22:37:55 +00:00
Roland McGrath
811eaa609c (update-file-autoloads): Go to the beginning of FILE before searching it
for generate-autoload-cookie.
1993-07-18 20:01:03 +00:00
Roland McGrath
1265394fdd (generate-file-autoloads): Fix FILE truename hacking to substring
SOURCE-TRUENAME instead of FILE.
1993-07-14 20:56:19 +00:00
Jim Blandy
ae553cad8e * autoload.el (generate-file-autoloads): Correctly detect when the
buffer receiving the autoload forms is in a parent of or the same
	directory as FILE, even in the presence of symlinks.
1993-07-13 03:21:39 +00:00
Roland McGrath
88e37e7b31 (update-file-autoloads): Correctly do nothing when there are no cookies. 1993-07-07 20:13:57 +00:00
Roland McGrath
23de57664f Doc fix. 1993-07-07 02:03:18 +00:00
Roland McGrath
d4f70b769d (update-file-autoloads): Do nothing when there are no cookies. 1993-07-03 07:22:04 +00:00
Richard M. Stallman
c751663136 (generate-file-autoloads): Undo previous change
because make-docfile requires defvar doc string to start on first line.
1993-06-17 06:59:49 +00:00
Roland McGrath
327ab40d47 (make-autoload): Use memq once instead eq twice.
(generate-file-autoloads): For non-autoloads, copy the defn textually
rather than printing it after reading.
1993-06-16 23:06:58 +00:00
Roland McGrath
d08589bfd1 (generate-autoload-cookie, update-autoloads-here): Doc fixes. 1993-06-16 22:08:23 +00:00
Roland McGrath
e2b6138f10 (update-file-autoloads, update-directory-autoloads): If called
interactively, save generated-autoload-file when done.
1993-04-14 19:56:19 +00:00
Roland McGrath
da8826b498 (generate-file-autoloads): Doc fix. 1993-04-08 21:47:39 +00:00
Eric S. Raymond
e41b2db1da Added or corrected Commentary sections 1993-03-22 03:27:18 +00:00
Eric S. Raymond
e9571d2a21 Add or correct keywords 1993-03-18 21:29:42 +00:00
Jim Blandy
6798a38571 * autoload.el (generate-file-autoloads): Add another
save-excursion so that point is before the generated autoloads
	after we scan the file.
1993-03-02 07:21:44 +00:00
Roland McGrath
7e4263eb77 (generate-file-autoloads): If no buffer was visiting FILE when we started,
kill the buffer we create.
1993-02-17 21:30:21 +00:00
Jim Blandy
4489336084 * autoload.el (make-autoload): When creating an autoload
invocation for a macro, pass (list 'quote 'macro) as the sixth
	argument, not just t.  autoload's sixth argument is now a type
	instead of just a boolean value, so we should use a value which
	reflects that.
1992-11-07 06:10:53 +00:00
Richard M. Stallman
078a88f4d6 entered into RCS 1992-09-12 22:48:30 +00:00
Eric S. Raymond
3a801d0c71 *** empty log message *** 1992-07-22 04:22:42 +00:00
Eric S. Raymond
fd7fa35a05 *** empty log message *** 1992-07-17 08:15:29 +00:00
Eric S. Raymond
e516799970 *** empty log message *** 1992-07-16 21:47:34 +00:00
Jim Blandy
e5d77022e8 *** empty log message *** 1992-06-30 13:54:21 +00:00
Jim Blandy
daa3760289 *** empty log message *** 1992-06-24 05:09:26 +00:00
Eric S. Raymond
c0274f385f *** empty log message *** 1992-05-30 23:54:21 +00:00
Jim Blandy
ffd56f97cf *** empty log message *** 1992-05-18 08:14:41 +00:00
Jim Blandy
0231f2dce8 Initial revision 1991-12-21 08:23:15 +00:00