diff --git a/dotfiles/emacs.d/org-config.org b/dotfiles/emacs.d/org-config.org index dfbd9f90..d9c59799 100644 --- a/dotfiles/emacs.d/org-config.org +++ b/dotfiles/emacs.d/org-config.org @@ -210,7 +210,7 @@ This function finds all incomplete items in the agenda files that are scheduled in the past and reschedules them to today. Useful for catching up on tasks that have slipped past their original scheduled date. #+begin_src emacs-lisp :tangle org-config-config.el -(defun org-reschedule-past-to-today () +(defun imalison:reschedule-past-to-today () "Reschedule all incomplete items scheduled in the past to today. Iterates through all org-agenda files and reschedules any TODO items that have a SCHEDULED date before today to the current date." @@ -229,9 +229,6 @@ that have a SCHEDULED date before today to the current date." nil 'agenda) (message "Rescheduled %d items to today" rescheduled-count))) - -;; Keep old name as alias for backwards compatibility -(defalias 'imalison:reschedule-past-to-today 'org-reschedule-past-to-today) #+end_src #+RESULTS: diff --git a/org-agenda-api/configs/colonelpanic/custom-config.el b/org-agenda-api/configs/colonelpanic/custom-config.el index 9e00de8a..5afa2b19 100644 --- a/org-agenda-api/configs/colonelpanic/custom-config.el +++ b/org-agenda-api/configs/colonelpanic/custom-config.el @@ -251,6 +251,6 @@ Returns nil for non-entry templates or templates that can't be converted." ;; Register exposed functions for remote execution via /call-function endpoint (setq org-agenda-api-exposed-functions - '((org-reschedule-past-to-today :name "Reschedule Overdue to Today"))) + '((imalison:reschedule-past-to-today :name "Reschedule Overdue to Today"))) ;;; custom-config.el ends here