summaryrefslogtreecommitdiff
path: root/org-fc-review.el
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2020-02-20 14:25:23 +0100
committerLeon Rische <leon.rische@me.com>2020-02-20 14:25:23 +0100
commitb5d880160cd0da5ec95abe72470d6ac36fef31bc (patch)
treecd267120c6e20cad0a3a2f7a7f84635125616dda /org-fc-review.el
parent152b639c40c1446fed089e057933245a7fe91e43 (diff)
Warn when using a non-hydra key during review
Diffstat (limited to 'org-fc-review.el')
-rw-r--r--org-fc-review.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/org-fc-review.el b/org-fc-review.el
index d797e16..a55d439 100644
--- a/org-fc-review.el
+++ b/org-fc-review.el
@@ -148,7 +148,7 @@
(message "Review Done")
(org-fc-review-quit)))
-(defhydra org-fc-review-rate-hydra ()
+(defhydra org-fc-review-rate-hydra (:foreign-keys warn)
"
%(length (oref org-fc-review--current-session cards)) cards remaining
%s(org-fc-session-stats-string org-fc-review--current-session)
@@ -160,7 +160,7 @@
("e" (org-fc-review-rate-card 'easy) "Rate as easy" :exit t)
("q" org-fc-review-quit "Quit" :exit t))
-(defhydra org-fc-review-flip-hydra ()
+(defhydra org-fc-review-flip-hydra (:foreign-keys warn)
"
%(length (oref org-fc-review--current-session cards)) cards remaining
%s(org-fc-session-stats-string org-fc-review--current-session)