diff options
author | Leon Rische <leon.rische@me.com> | 2020-09-19 20:43:16 +0200 |
---|---|---|
committer | Leon Rische <leon.rische@me.com> | 2020-09-19 20:43:16 +0200 |
commit | 57bb356b83f21eb10a3458bc09df06b40a2d55fe (patch) | |
tree | 14c6f1da4926d4547be08c122c782786fbff596f | |
parent | 4de07aee35939473ca63593686f2051b2a03b964 (diff) |
Rename `org-fc-show-all` to `org-fc-remove-overlays`
-rw-r--r-- | org-fc.el | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -949,7 +949,7 @@ Returns nil if there is no title keyword." ;;;; Showing / Hiding Overlays -(defun org-fc-show-all () +(defun org-fc-remove-overlays () "Remove all org-fc overlays in the current buffer." (interactive) (remove-overlays (point-min) (point-max) 'category 'org-fc)) @@ -1848,7 +1848,7 @@ rating the card." (org-fc-review-flip-mode -1) (org-fc-review-edit-mode -1) (org-fc-reset-header-line) - (org-fc-show-all) + (org-fc-remove-overlays) (widen)) ;;;###autoload @@ -1866,7 +1866,8 @@ rating the card." Pauses the review, unnarrows the buffer and activates `org-fc-edit-mode'." (interactive) - (org-fc-show-all) + (widen) + (org-fc-remove-overlays) ;; Queue the current flashcard so it's reviewed a second time (org-fc-session-prepend-card org-fc--session |