From 6e8b878b4d6646ce777da21468ef07758c85ae06 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 20 Mar 2021 15:57:45 +0100 Subject: [PATCH] Warn when using the deprecated RESET_CHECK_BOXES property I want to use periodic tasks for repeated tasks with check boxes. --- site-lisp/db-org.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site-lisp/db-org.el b/site-lisp/db-org.el index 7e3c48b..b1bf916 100644 --- a/site-lisp/db-org.el +++ b/site-lisp/db-org.el @@ -305,8 +305,9 @@ tag PERIODIC." ;; from `org-checklist’ by James TD Smith (@ ahktenzero (. mohorovi cc)), ;; version: 1.0 (defun org-reset-checkbox-state-maybe () - "Reset all checkboxes in an entry if the `RESET_CHECK_BOXES' property is set" + "Reset all checkboxes in an entry if `RESET_CHECK_BOXES' property is set." (interactive "*") + (warn "Using the RESET_CHECK_BOXES property is deprecated, user periodic tasks instead") (if (org-entry-get (point) "RESET_CHECK_BOXES") (org-reset-checkbox-state-subtree)))