diff options
author | Thanos Apollo <[email protected]> | 2024-10-06 08:20:31 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-10-06 08:20:50 +0300 |
commit | bf7cf6ee59a56f64e5f3c23fd1601ce9aac3d79b (patch) | |
tree | 57c59d0919829ed497a4c5a32c87ef06c4ac26ae | |
parent | 3a9be993adeba9aafc5b8cc4ea03a025ad48505e (diff) |
Rename function delete-activity-log to history-clear.
* All function that have edit history will be written with -history-.
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |