Browse Source

Warn when using the deprecated RESET_CHECK_BOXES property

I want to use periodic tasks for repeated tasks with check boxes.
master
Daniel 1 month ago
parent
commit
6e8b878b4d
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      site-lisp/db-org.el

+ 2
- 1
site-lisp/db-org.el View File

@@ -305,8 +305,9 @@ tag PERIODIC."
305 305
 ;; from `org-checklist’ by James TD Smith (@ ahktenzero (. mohorovi cc)),
306 306
 ;; version: 1.0
307 307
 (defun org-reset-checkbox-state-maybe ()
308
-  "Reset all checkboxes in an entry if the `RESET_CHECK_BOXES' property is set"
308
+  "Reset all checkboxes in an entry if `RESET_CHECK_BOXES' property is set."
309 309
   (interactive "*")
310
+  (warn "Using the RESET_CHECK_BOXES property is deprecated, user periodic tasks instead")
310 311
   (if (org-entry-get (point) "RESET_CHECK_BOXES")
311 312
       (org-reset-checkbox-state-subtree)))
312 313
 

Loading…
Cancel
Save