summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-10-06 08:20:31 +0300
committerThanos Apollo <[email protected]>2024-10-06 08:20:50 +0300
commitbf7cf6ee59a56f64e5f3c23fd1601ce9aac3d79b (patch)
tree57c59d0919829ed497a4c5a32c87ef06c4ac26ae /gnosis.el
parent3a9be993adeba9aafc5b8cc4ea03a025ad48505e (diff)
Rename function delete-activity-log to history-clear.
* All function that have edit history will be written with -history-.
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnosis.el b/gnosis.el
index 73cdebd..08689ab 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1682,10 +1682,10 @@ If NEW? is non-nil, increment new notes log by 1."
(gnosis-update 'activity-log `(= reviewed-total ,inc-total) `(= date ',date))
(and new? (gnosis-update 'activity-log `(= reviewed-new ,inc-new) `(= date ',date)))))
-(defun gnosis-delete-activity-log ()
+(defun gnosis-history-clear ()
"Delete all activity log entries."
(interactive)
- (when (y-or-n-p "Delete activity log?")
+ (when (y-or-n-p "Delete all activity log?")
(emacsql gnosis-db [:delete :from activity-log])))
(defun gnosis-review-note (id)