[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/activities 722093a109 3/3: Merge: Autoload bookmark han
From: |
ELPA Syncer |
Subject: |
[elpa] externals/activities 722093a109 3/3: Merge: Autoload bookmark handler |
Date: |
Sat, 27 Jul 2024 00:57:24 -0400 (EDT) |
branch: externals/activities
commit 722093a1098952105bc17d2598fc9dc5f66e23ba
Merge: fa4b9a5f49 83f66291e6
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>
Merge: Autoload bookmark handler
Closes #114.
Reported-by: Joseph Turner <joseph@breatheoutbreathe.in>
---
README.org | 1 +
activities.el | 1 +
2 files changed, 2 insertions(+)
diff --git a/README.org b/README.org
index 255bba04f4..46359897d6 100644
--- a/README.org
+++ b/README.org
@@ -157,6 +157,7 @@ When option ~activities-bookmark-store~ is enabled, an
Emacs bookmark is stored
+ Race condition when restoring multiple activities in rapid succession from
user code. ([[https://github.com/alphapapa/activity.el/pull/98][#98]]. Thanks
to [[https://github.com/jdtsmith][JD Smith]].)
+ Command ~activities-resume~ resets when called with a universal prefix
argument. ([[https://github.com/alphapapa/activities.el/pull/75][#75]].
Thanks to [[https://breatheoutbreathe.in][Joseph Turner]].)
+ Refreshing activities list.
([[https://github.com/alphapapa/activities.el/pull/77][#77]]. Thanks to
[[https://breatheoutbreathe.in][Joseph Turner]].)
++ Autoload bookmark handler.
([[https://github.com/alphapapa/activity.el/pull/114][#114]]. Thanks to
[[https://breatheoutbreathe.in][Joseph Turner]].)
** v0.7
diff --git a/activities.el b/activities.el
index e1d946050b..9e2279c335 100644
--- a/activities.el
+++ b/activities.el
@@ -888,6 +888,7 @@ with prefix argument, choose another activity."
(handler . activities-bookmark-handler))))
(bookmark-store bookmark-name props nil)))
+;;;###autoload
(defun activities-bookmark-handler (bookmark)
"Switch to BOOKMARK's activity."
(activities-resume (map-elt activities-activities (bookmark-prop-get
bookmark 'activities-name))))