Commit graph

150 commits

Author SHA1 Message Date
Juanma Barranquero
e542c60089 (autoload-rubric): Fix coding cookie not to force Unix EOL. 2008-06-10 09:03:38 +00:00
Glenn Morris
69a343cc18 (autoload-rubric): Add coding cookie. 2008-06-10 03:07:15 +00:00
Glenn Morris
a98f63d48d (autoload-rubric): New function, extracted from autoload-ensure-default-file.
(autoload-ensure-default-file): Use autoload-rubric.
2008-06-05 02:37:06 +00:00
Juanma Barranquero
1603d855dc (autoload-generate-file-autoloads): Don't use `iff' in docstring. 2008-05-08 03:38:53 +00:00
Glenn Morris
d6cba7ae45 Switch to recommended form of GPLv3 permissions notice. 2008-05-06 03:21:21 +00:00
Miles Bader
a113b3ca32 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1121
2008-04-23 05:55:42 +00:00
Stefan Monnier
37eb1eeae5 (autoload-generate-file-autoloads):
Bind print-level to ensure output forms aren't truncated if
print-level is set to eval-expression-print-level when going via
eval-defun and friends, or has been otherwise fiddled with.
2008-04-11 01:59:14 +00:00
Glenn Morris
5ec993427a (autoload-ensure-default-file): Provide a feature. 2008-04-05 18:51:12 +00:00
Stefan Monnier
812e2bd8e1 (autoload-find-destination): Don't force raw-text. 2008-03-10 21:11:32 +00:00
Miles Bader
430d2ee291 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
2008-01-09 01:21:15 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
8b72699e88 Add 2008 to copyright years. 2008-01-07 01:14:52 +00:00
Miles Bader
b2e6b10fe2 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 846-851)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 88-92)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 242-244)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-246
2007-08-13 13:48:35 +00:00
Stefan Monnier
9d8563ca18 (autoload-print-form): Use print-quoted. 2007-08-13 05:35:43 +00:00
Miles Bader
e468b87f91 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 824-831)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 70-74)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-238
2007-07-27 10:52:18 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
e0085d62fa Switch license to GPLv3 or later. 2007-07-25 04:14:29 +00:00
Miles Bader
8c406a9bc4 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 806-813)

   - Merge from emacs--rel--22
   - Update from CVS

 * emacs--rel--22  (patch 51-58)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 233-236)

   - Merge from emacs--devo--0
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-230
2007-07-15 04:47:46 +00:00
Stefan Monnier
a25beddb33 (generated-autoload-file): Autoload the safe-local-variable setting. 2007-07-14 19:03:22 +00:00
Stefan Monnier
563cfbf7a7 (autoload-generate-file-autoloads): Be careful
with EOLs when generating MD5 checksums.
2007-07-10 18:05:36 +00:00
Stefan Monnier
48df920c87 (update-directory-autoloads): Remove duplicates without also removing
entries from other directories.
2007-07-10 14:13:16 +00:00
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