Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix el-get-remove-autoloads for emacs != 24.3 #1469

Merged
merged 1 commit into from Dec 13, 2013

Conversation

npostavs
Copy link
Collaborator

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.


This fixes #446 for emacs older than 24.3. I've tested (./run-test.sh 446) with 23.4, 24.2, and 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.
@yyr
Copy link
Collaborator

yyr commented Dec 13, 2013

This is good, I also tested, Merged.

yyr added a commit that referenced this pull request Dec 13, 2013
fix el-get-remove-autoloads for emacs != 24.3
@yyr yyr merged commit a3baf20 into dimitri:master Dec 13, 2013
@npostavs npostavs deleted the autoload-remove3 branch March 3, 2014 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uninstalling magithub doesn't remove it from .loaddefs.el
2 participants