diff options
author | Leon Rische <leon.rische@me.com> | 2020-06-28 15:28:45 +0200 |
---|---|---|
committer | Leon Rische <leon.rische@me.com> | 2020-06-28 15:28:45 +0200 |
commit | 3717c17b54a3e9c0d3f537ff4c3d2c1f5411743f (patch) | |
tree | 9911cb5c2b96fa4f58b6377db8a74b388fce816b /org-fc.el | |
parent | 5b8174f93659e5c9699b658fe66065839e8d9b23 (diff) |
Add before-review-hook
Diffstat (limited to 'org-fc.el')
-rw-r--r-- | org-fc.el | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -198,6 +198,11 @@ Values are in days." :type 'hook :group 'org-fc) +(defcustom org-fc-before-review-hook '() + "Functions run when a review session is started." + :type 'hook + :group 'org-fc) + (defcustom org-fc-after-review-hook '() "Functions run when a review session ends / is quit." :type 'hook @@ -1741,6 +1746,7 @@ Valid contexts: (progn (setq org-fc-review--current-session (org-fc-make-review-session cards)) + (run-hooks 'org-fc-before-review-hook) (org-fc-review-next-card)))))) ;;;###autoload |