Commit graph

129 commits

Author SHA1 Message Date
Miles Bader
1011c48763 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 803-805)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-227
2007-07-09 08:00:55 +00:00
Stefan Monnier
0b7750a95d (autoload-find-destination): Understand a new format of autoload block where
the file's time-stamp is replaced by its MD5 checksum.
(autoload-generate-file-autoloads): Use MD5 checksum instead of
time-stamp for secondary autoloads files.
(update-directory-autoloads): Remove duplicate entries.
Use time-less-p for time-stamps, as done in autoload-find-destination.
2007-07-07 04:56:00 +00:00
Stefan Monnier
438d6bb606 (autoload-generated-file): Interpret names relative to current dir
for file-local settings.
(autoload-generate-file-autoloads): Add `outfile' arg.
(update-directory-autoloads): Use it to directly call
autoload-generate-file-autoloads instead of going through
update-file-autoloads so we avoid redundant searches and so we can know
the set of buffers changed so we can save them all.
2007-06-26 19:53:12 +00:00
Stefan Monnier
1fad2b12ba (autoload-find-destination): Return nil
rather than throwing `up-to-date'.
(autoload-generate-file-autoloads): Adjust correspondingly.
(update-file-autoloads): Be careful to let-bind
autoload-modified-buffers and adjust to new calling conventions.
(autoload-modified-buffers): Make it a dynamically scoped var.
(update-directory-autoloads): Use file-relative-name instead of
autoload-trim-file-name.
(autoload-insert-section-header): Don't use autoload-trim-file-name
since the file is already relative now.
(autoload-trim-file-name): Remove.
2007-06-26 19:07:14 +00:00
Stefan Monnier
986c5ad548 (autoload-generate-file-autoloads): Make `outbuf' optional.
(update-file-autoloads): Use it.
2007-06-25 16:19:05 +00:00
Stefan Monnier
e66466a6fb (autoload-modified-buffers): New var.
(autoload-find-destination): Keep it uptodate.
(autoload-save-buffers): New fun.
(update-file-autoloads): Use it.  Re-add the "up to date" message.
2007-06-25 05:09:05 +00:00
Stefan Monnier
ceea9b1803 Refactor for upcoming changes.
(autoload-generate-file-autoloads): New function extracted from
generate-file-autoloads.  Use file-relative-name.  Delay computation of
output-start to the first cookie.  Remove done-any, replaced by
output-start.
(generate-file-autoloads): Use it.
(autoload-find-destination): Make use of `begin' var.
2007-06-25 03:48:10 +00:00
Stefan Monnier
57536a8371 Refactor for upcoming changes.
(autoload-find-destination): New function extracted from update-file-autoloads.
(update-file-autoloads): Use it.
2007-06-25 03:01:22 +00:00
Stefan Monnier
3b9795200f (autoload-generated-file): New function.
(update-file-autoloads, update-directory-autoloads): Use it.
(autoload-file-load-name): New function.
(generate-file-autoloads, update-file-autoloads): Use it.
(autoload-find-file): Accept non-absolute argument.  Set default-dir.
(generate-file-autoloads): If the autoloaded form is malformed,
indicate the problem with a warning instead of aborting.
2007-06-23 20:31:33 +00:00
Miles Bader
3a4336e6de Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 773)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-211
2007-05-26 21:55:39 +00:00
Chong Yidong
32324290ca (global-cwarn-mode): Add define-globalized-minor-mode. 2007-02-03 17:25:17 +00:00
Glenn Morris
f0fa15c5e5 Add 2007 to copyright years. 2007-01-21 02:48:43 +00:00
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