From 1d2abb3c16f7d07d4b76ca662088eed7e4433a54 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 1 Mar 2024 23:29:12 +0200 Subject: Remove gnosis-review-round Deprecated --- gnosis.el | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gnosis.el') diff --git a/gnosis.el b/gnosis.el index ae0ce32..6220d10 100644 --- a/gnosis.el +++ b/gnosis.el @@ -980,13 +980,6 @@ Returns a list of the form ((yyyy mm dd) (ef-increase ef-decrease ef-total))." (let ((last-rev (gnosis-get 'last-rev 'review-log `(= id ,id)))) (gnosis-algorithm-date-diff last-rev))) -(defun gnosis-review-round (num) - "Round NUM to 2 decimals. - -This function is used to round floating point numbers to 2 decimals, -such as the easiness factor (ef)." - (/ (round (* num 100.00)) 100.00)) - (defun gnosis-review--update (id success) "Update review-log for note with value of id ID. -- cgit v1.2.3