Update spacemacs

This commit is contained in:
Tony Grosinger 2019-12-13 08:04:58 -08:00
parent dc02c9ed7d
commit d4147fee3f

View File

@ -367,7 +367,8 @@ you should place your code here."
(defun archive-task-today ()
(interactive)
(let* ((date (format-time-string "%Y-%m-%b"))
(org-archive-location (concat "~/org/" date ".org::datetree/** Tasks for today")))
(org-archive-location (concat "~/org/" date ".org::datetree/** Tasks for today"))
(org-archive-save-context-info nil))
(org-archive-subtree)))
(spacemacs/set-leader-keys-for-major-mode 'org-mode "st" 'archive-task-today)