summaryrefslogtreecommitdiff
path: root/org-fc.el
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2020-07-06 00:43:52 +0200
committerLeon Rische <leon.rische@me.com>2020-07-06 00:43:52 +0200
commit733f547125513f378666430b4117d96e690a757d (patch)
treeb11667687b0fad10972573e6b610488dbb5ebdc2 /org-fc.el
parent64afb698c387e4a6183c78f5bb95b6e9f6038575 (diff)
Fix header line
Diffstat (limited to 'org-fc.el')
-rw-r--r--org-fc.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/org-fc.el b/org-fc.el
index 531b212..a657c4b 100644
--- a/org-fc.el
+++ b/org-fc.el
@@ -1670,16 +1670,16 @@ removed."
header-line-format
`((org-fc-review-flip-mode
,(format "Review, %d cards remaining, %s"
- (length (oref org-fc-review--current-session cards))
+ (1+ (length (oref org-fc-review--current-session cards)))
(org-fc-session-stats-string org-fc-review--current-session)))
(org-fc-review-rate-mode
,(format "Rate, %d cards remaining, %s"
- (length (oref org-fc-review--current-session cards))
+ (1+ (length (oref org-fc-review--current-session cards)))
(org-fc-session-stats-string org-fc-review--current-session)))
- ((org-fc-review-edit-mode
+ (org-fc-review-edit-mode
,(substitute-command-keys
"\\<org-fc-review-edit-mode-map>Org-fc edit. Resume \
-`\\[org-fc-review-resume]', quit review `\\[org-fc-review-quit]'."))))))
+`\\[org-fc-review-resume]', quit review `\\[org-fc-review-quit]'.")))))
(defun org-fc-reset-header-line ()
"Reset the header-line to its original value."