summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-12-09 11:17:39 -0800
committerFranck Cuny <fcuny@twitter.com>2019-12-09 11:17:39 -0800
commit34835baf7f79f550b73440121fcda756ddbe9d59 (patch)
treef1cc910c7183215aff3e86cf99966360fc44c38d /emacs
parent[org] Clean up function to move to datetree. (diff)
downloademacs.d-34835baf7f79f550b73440121fcda756ddbe9d59.tar.gz
[org] Add docstring to a function.
Add a docstring to the function to refile a subtree to the work
journal.
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-org.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs.d/custom/fcuny-org.el b/emacs.d/custom/fcuny-org.el
index 5bc9708..d8a17f7 100644
--- a/emacs.d/custom/fcuny-org.el
+++ b/emacs.d/custom/fcuny-org.el
@@ -277,6 +277,8 @@ is nil, refile in the current file."
                                   (point)))))))
 
 (defun fcuny/org-refile-to-work-journal ()
+"Refile current subtree to a datetree in work journal corresponding to it's timestamp.
+The current time is used if the entry has no timestamp."
   (interactive)
   (fcuny/org-refile-to-datetree org-default-work-journal-file))