Commit Graph

9 Commits

Author SHA1 Message Date
Noam Postavsky
60a671c0de fix el-get-remove-autoloads for emacs != 24.3
Instead of tricking autoload-find-destination to do what we want, pull
out the relevant bits of code that do removal.

Using autoload-find-destination works in emacs 24.3 apparently because
of a bug: file-attributes returns a 4 integer list for time, but the
autoload function expects the old 2 integer format.  In 24.2 where
file-attributes still returns 2 integers, the autoload section is
considered up to date and is not removed.
2013-12-11 22:15:31 -05:00
Noam Postavsky
5d32a8a056 make autoload regexp match emacs'
The previous regex was missing grouping and matched elc files as well,
better to use the same thing that the builtin emacs autoload stuff uses.
2013-10-11 10:05:16 -07:00
Noam Postavsky
e40aa6670d check el-get-want-autoloads-p in el-get-update-autoloads
This fixes #810 and #614.
2013-09-24 19:32:07 -04:00
Victor Deryagin
0a202ea35d changed mentions of 'README.asciidoc' to 'README.md' in source files 2013-04-01 15:46:34 +03:00
Ryan C. Thompson
8fb9004098 Call update-directory-autoloads only on existing directories
Also, only call it on one directory at a time, as recommended
2012-03-13 10:42:44 -07:00
Ryan C. Thompson
b96ae5bbb9 Remove reference to removed function
Also, require a package's directory to exist before considering it
installed.
2012-03-06 01:11:55 -08:00
Dimitri Fontaine
f760b1a63a Autoloads fixes. 2011-09-23 14:06:29 +02:00
Dimitri Fontaine
6b6f06567f Fix problems with autoloads.
Note that the new dependencies code ensures that we have only one package
currently installing at any time, so that we don't need timer and defered
autoloads updating anymore.  That simplifies the code a lot, and I think it
fixes issue #400, will check that next.
2011-09-23 11:41:24 +02:00
Dimitri Fontaine
0433ca0ce9 Refactoring it all: a beginning. No time for testing yet, just showing ideas. 2011-09-20 15:15:52 +02:00