diff options
author | Kyle Meyer <kyle@kyleam.com> | 2017-04-11 23:01:16 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2017-04-11 23:01:16 -0400 |
commit | 19cc41a822c7bb8632a9d823714a6d5c2ca3a93d (patch) | |
tree | 69dfe6085447aea95e1a6b39609122a240479e40 | |
parent | ef72f72055a21c81587ddf0d17ab5a0dccdef9b2 (diff) | |
download | emacs.d-19cc41a822c7bb8632a9d823714a6d5c2ca3a93d.tar.gz |
Add org-agenda-reschedule-by-days command
-rw-r--r-- | init.el | 1 | ||||
-rw-r--r-- | lisp/km-org-agenda.el | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -279,6 +279,7 @@ ("C-j" . org-agenda-goto-date) ("a" . org-agenda) ("d" . org-agenda-view-mode-dispatch) + ("i" . km/org-agenda-reschedule-by-days) ("k" . nil) ("v" . org-agenda-capture))) diff --git a/lisp/km-org-agenda.el b/lisp/km-org-agenda.el index 553db51..8ece0d8 100644 --- a/lisp/km-org-agenda.el +++ b/lisp/km-org-agenda.el @@ -110,5 +110,11 @@ A target is determined by `km/org-refile-dwim-target-file'." org-refile-targets))) (call-interactively #'org-agenda-refile))) +(defun km/org-agenda-reschedule-by-days () + (interactive) + (org-agenda-schedule + nil + (concat "+" (read-string "Days from now: ") "d"))) + (provide 'km-org-agenda) ;;; km-org-agenda.el ends here |