diff options
author | Leon Rische <leon.rische@me.com> | 2020-06-26 22:08:05 +0200 |
---|---|---|
committer | Leon Rische <leon.rische@me.com> | 2020-06-26 22:08:05 +0200 |
commit | 7b1c49c5eccdcc3baa2bab8ffd8ce6cc5b3d1569 (patch) | |
tree | a7c48c92e56841f03a5e5edc1792cd3731d2793f /org-fc.el | |
parent | ebb1ca23969c301fb3eaed238375e1f65f2bf420 (diff) |
Add a `after-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-after-review-hook '() + "Functions run when a review session ends / is quit." + :type 'hook + :group 'org-fc) + ;;;; Diff (defcustom org-fc-diff-filler ?- @@ -1926,6 +1931,7 @@ rating the card." "Quit the review, remove all overlays from the buffer." (interactive) (org-fc-review-reset) + (run-hooks 'org-fc-after-review-hook) (setq org-fc-review--current-session nil)) ;;; Dashboard |