summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-04-11 23:01:16 -0400
committerKyle Meyer <kyle@kyleam.com>2017-04-11 23:01:16 -0400
commit19cc41a822c7bb8632a9d823714a6d5c2ca3a93d (patch)
tree69dfe6085447aea95e1a6b39609122a240479e40 /lisp
parentef72f72055a21c81587ddf0d17ab5a0dccdef9b2 (diff)
downloademacs.d-19cc41a822c7bb8632a9d823714a6d5c2ca3a93d.tar.gz
Add org-agenda-reschedule-by-days command
Diffstat (limited to 'lisp')
-rw-r--r--lisp/km-org-agenda.el6
1 files changed, 6 insertions, 0 deletions
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