Only warn about RESET_CHECK_BOXES if it's really there
This commit is contained in:
parent
7833e28185
commit
fd14313b9b
|
@ -307,9 +307,9 @@ tag PERIODIC."
|
||||||
(defun org-reset-checkbox-state-maybe ()
|
(defun org-reset-checkbox-state-maybe ()
|
||||||
"Reset all checkboxes in an entry if `RESET_CHECK_BOXES' property is set."
|
"Reset all checkboxes in an entry if `RESET_CHECK_BOXES' property is set."
|
||||||
(interactive "*")
|
(interactive "*")
|
||||||
(warn "Using the RESET_CHECK_BOXES property is deprecated, user periodic tasks instead")
|
(when (org-entry-get (point) "RESET_CHECK_BOXES")
|
||||||
(if (org-entry-get (point) "RESET_CHECK_BOXES")
|
(warn "Using the RESET_CHECK_BOXES property is deprecated, user periodic tasks instead")
|
||||||
(org-reset-checkbox-state-subtree)))
|
(org-reset-checkbox-state-subtree)))
|
||||||
|
|
||||||
|
|
||||||
;;; Helper Functions for Clocking
|
;;; Helper Functions for Clocking
|
||||||
|
|
Loading…
Reference in New Issue