summaryrefslogtreecommitdiff
path: root/org-fc.el
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2020-07-02 11:59:54 +0200
committerLeon Rische <leon.rische@me.com>2020-07-02 11:59:54 +0200
commite0758469251b6709ff4d2dfd77c24dbde866eecc (patch)
tree023cfa66ca75f10c29bab8f3339f80b97377d8e0 /org-fc.el
parent547e7b20d02a9ab32b2684be54efc3b7fd511e2c (diff)
Rename `org-fc-review-rate-card` to `org-fc-review-rate`
Diffstat (limited to 'org-fc.el')
-rw-r--r--org-fc.el13
1 files changed, 7 insertions, 6 deletions
diff --git a/org-fc.el b/org-fc.el
index fce30f2..075f507 100644
--- a/org-fc.el
+++ b/org-fc.el
@@ -1866,8 +1866,7 @@ same ID as the current card in the session."
(org-fc-review-quit)
(signal (car err) (cdr err)))))
-;; TODO: Remove -card suffix
-(defun org-fc-review-rate-card (rating)
+(defun org-fc-review-rate (rating)
"Rate the card at point with RATING."
(interactive)
(condition-case err
@@ -1888,25 +1887,27 @@ same ID as the current card in the session."
(org-fc-review-quit)
(signal (car err) (cdr err)))))
+(define-obsolete-function-alias 'org-fc-review-rate-card 'org-fc-review-rate)
+
(defun org-fc-review-rate-again ()
"Rate the card at point with 'again'."
(interactive)
- (org-fc-review-rate-card 'again))
+ (org-fc-review-rate 'again))
(defun org-fc-review-rate-hard ()
"Rate the card at point with 'hard'."
(interactive)
- (org-fc-review-rate-card 'hard))
+ (org-fc-review-rate 'hard))
(defun org-fc-review-rate-good ()
"Rate the card at point with 'good'."
(interactive)
- (org-fc-review-rate-card 'good))
+ (org-fc-review-rate 'good))
(defun org-fc-review-rate-easy ()
"Rate the card at point with 'easy'."
(interactive)
- (org-fc-review-rate-card 'easy))
+ (org-fc-review-rate 'easy))
(defun org-fc-review-suspend-card ()
"Suspend card and proceed to next."