Commit graph

117 commits

Author SHA1 Message Date
Stefan Monnier
fb2dd97003 (make-autoload): Use new arg. 2006-07-17 21:27:17 +00:00
Stefan Monnier
02dcdad34e (make-autoload): Remove special handling of
minor modes, redundant with the custom-autoload line above.
2006-07-13 18:13:06 +00:00
Stefan Monnier
b17b883963 (no-update-autoloads): Declare.
(generate-file-autoloads): Obey it.  Return whether autoloads were
added at point or not.
(update-file-autoloads): Use this new return value.
Remove redundant test for the presence of an autoload cookie.
2006-05-29 02:53:14 +00:00
Stefan Monnier
6913552560 (autoload-find-file): New fun. This one calls hack-local-variables.
(generate-file-autoloads, update-file-autoloads): Use it.
2006-05-29 02:11:27 +00:00
Luc Teirlinck
de10856c9d (update-directory-autoloads): Use `get-load-suffixes' instead of
`load-suffixes'.
2006-02-27 01:58:04 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Juri Linkov
c6a3142d9e (make-autoload): Add define-global-minor-mode. 2005-12-04 02:32:35 +00:00
Stefan Monnier
1bddeeed51 (make-autoload): Handle defgroup specially. 2005-11-30 16:04:40 +00:00
Lars Hansen
1e0888f5a6 (update-directory-autoloads): Add obsolete function alias. 2005-11-08 20:24:19 +00:00
Juanma Barranquero
ac644d50c0 (update-directory-autoloads): Doc fix.
(autoload-print-form-outbuf): Add docstring.
2005-10-11 10:45:59 +00:00
Thien-Thi Nguyen
3731a85096 Update years in copyright notice; nfc. 2005-08-06 17:48:15 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Stefan Monnier
b7a45ee150 (make-autoload): Add the :setter for defcustoms corresponding to minor modes. 2005-06-26 18:18:04 +00:00
Richard M. Stallman
1b39b4933b (make-autoload): Handle define-global-minor-mode. 2005-03-31 21:17:40 +00:00
Richard M. Stallman
8d3e54757a Comment changes. 2005-01-09 00:30:53 +00:00
Richard M. Stallman
f7ed02acc7 (update-file-autoloads): Don't use interactive-p; take new arg SAVE-AFTER. 2004-11-02 09:20:13 +00:00
Thien-Thi Nguyen
bec34fb05f (make-autoload): Handle `define-compilation-mode'. 2004-09-08 11:06:23 +00:00
Juanma Barranquero
66dc9a0f2f (autoload-before-p): Remove.
(update-file-autoloads, update-directory-autoloads): Use `time-less-p'.
2004-04-27 22:46:52 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
6826a1342e (make-autoload): Add arglist for define-derived-mode. 2003-05-15 15:24:24 +00:00
John Paul Wallington
375d5635f9 (batch-update-autoloads): Call `update-directory-autoloads'. 2003-05-05 00:25:11 +00:00
Richard M. Stallman
56eebc2963 (update-directory-autoloads): Renamed from
update-autoloads-from-directories.
2003-05-04 13:08:58 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Markus Rost
d49298d9d7 (make-autoload): Generate custom-autoload for autoloaded defcustoms. 2003-01-07 18:39:14 +00:00
David Kastrup
4994a50d17 (autoload-ensure-default-file): insert
missing space in file end comment.
2002-12-15 22:40:03 +00:00
Richard M. Stallman
4a3c5b3af9 (autoload-print-form-outbuf): New variable.
(autoload-print-form): Use autoload-print-form-outbuf.
(generate-file-autoloads): Bind autoload-print-form-outbuf.
2002-12-07 21:31:58 +00:00
Markus Rost
000d99237f (update-autoloads-from-directories): Sort the list of files with no
autoloads.
2002-11-16 22:41:33 +00:00
Stefan Monnier
a85e4d5887 (generate-file-autoloads, update-file-autoloads): Strip .gz extensions.
(update-autoloads-from-directories): Also consider compressed files.
2002-11-03 12:37:48 +00:00
Richard M. Stallman
7dab57b625 (autoload-print-form): Cleanup. 2002-10-14 01:32:25 +00:00
Stefan Monnier
890df022a2 (make-autoload): Add usage info to docstring.
(autoload-print-form): Also quote open-[-in-column 0.
2002-09-27 23:03:17 +00:00
Richard M. Stallman
863fd6a7df (make-autoload): Don't handle define-ibuffer-column,
define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
2002-01-16 02:36:53 +00:00
Colin Walters
8c7b56e7e9 (make-autoload): Handle define-ibuffer-column, define-ibuffer-filter,
define-ibuffer-sorter, and define-ibuffer-op.
2002-01-13 05:41:27 +00:00
Colin Walters
74312ddcdf (make-autoload): Also generate autoloads for `defmacro*' forms. 2001-12-04 07:09:26 +00:00
Stefan Monnier
b0daab9afc (doc-string-elt): Remove. 2001-10-11 01:49:29 +00:00
Gerd Moellmann
a273d3e0c5 (autoload-ensure-default-file, autoload-insert-section-header)
(autoload-before-p, autoload-remove-section): New functions.
(generate-file-autoloads): Use them.
(update-file-autoloads): Use them.  Return FILE if there's no cookie.
Make sure the autoload file is properly formatted when creating it.
(update-autoloads-from-directories): Use them as well.
Only update autoloads for files whose timestamp has changed.
Add a dummy entry to remember the files which had no autoload cookies.
2001-10-05 09:29:11 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Gerd Moellmann
789b6186a3 (generate-file-autoloads): Remove
warning about line lengths.
2001-03-12 14:57:30 +00:00
Eli Zaretskii
9e3366e44b (update-file-autoloads): Use raw-text to
read generated-autoload-file, and set buffer-file-coding-system to
raw-text-unix after reading the file.
2000-12-06 13:56:18 +00:00
Stefan Monnier
e8139c11fb (make-autoload): Use `cond'.
Handle easy-mmode-define-global-mode.
For complex macros like define-minor-mode that can generate
several autoload entries, try to autoload entries in the
macroexpanded code.
2000-06-11 05:00:35 +00:00
Stefan Monnier
44bd81eacc (make-autoload): Other typo. I'm getting tired. 2000-06-05 06:37:11 +00:00
Stefan Monnier
e971339e72 (make-autoload): let* typo. 2000-06-05 06:33:44 +00:00
Stefan Monnier
a8add29deb (make-autoload): Simplify docstring.
Make use of symbol-property doc-string-elt.
Use memq rather than a sequence of eq.
(doc-string-elt): Fix the wrong or missing previously unused values.
(autoload-print-form): New function extracted from
generate-file-autoloads to allow recursion when handling progn
so that defvar's and defun's docstrings are properly printed.
(generate-file-autoloads): Use it.
2000-06-05 06:30:48 +00:00
Andreas Schwab
d14ef04bda Also print defsubst doc string
specially.
2000-03-29 21:31:40 +00:00
Stefan Monnier
bc165bcee0 (make-autoload): Recognize the new `define-minor-mode'.
(define-minor-mode): Specify `doc-string-elt'.
1999-11-23 09:26:55 +00:00
Richard M. Stallman
74a28ee2a8 (make-autoload): Handle defun* like defun. 1999-09-03 23:57:31 +00:00
Karl Heuer
5762abecd3 Fix maintainer address. 1999-08-16 04:04:27 +00:00
Karl Heuer
c8aca7d151 (generated-autoload-file): Doc fix. 1999-06-27 21:56:36 +00:00
Andreas Schwab
f3effb674a Fix doc-string-elt property on define-derived-mode. 1998-08-24 10:19:52 +00:00
Dan Nicolaescu
707ee44899 *** empty log message *** 1998-06-06 20:22:47 +00:00
Richard M. Stallman
18baef8fa9 (make-autoload): Doc fix. 1998-05-26 05:17:02 +00:00