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

auto-package-update-at-time improvements #48

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mina86
Copy link

@mina86 mina86 commented Mar 19, 2021

No description provided.

mina86 added 2 commits March 19, 2021 13:02
Remember timers previously created by ‘auto-package-update-at-time’
such that calling the function multiple times doesn’t schedule
multiple timers.  Since now the function cancels previously created
timer this allows the update to be rescheduled by calling the function
again.

Furthermore, support TIME being nil which will stop the function from
creating new timer.  In effect this allows scheduled updates to be
stopped.
Delay update scheduled by the ‘auto-package-update-at-time’ function
until user does not use Emacs.  Specifically, use a ten-second idle
timer rather than launching an update exactly at the scheduled time.
The latter may be disruptive if user is in the middle of editing since
the update may take a long time and blocks Emacs from interacting with
user.
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.

1 participant