diff options
author | Nicholas Vollmer <iarchivedmywholelife@gmail.com> | 2020-07-01 13:43:29 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2020-07-03 02:31:31 -0400 |
commit | 99b8f36ab897f82140d846812afe1874ec1e8d7d (patch) | |
tree | 86e87439e943a752d9c2089a71091e3dc7d6bf34 | |
parent | 3ed035ce3bff1bc915bf64267d527b4eeef288d3 (diff) | |
download | org-mode-99b8f36ab897f82140d846812afe1874ec1e8d7d.tar.gz |
capture: org-capture pass KEYS with GOTO arg
* lisp/org-capture.el (org-capture): Pass `keys' arg to
`org-capture-goto-target'.
Allows programmatically visiting a specific template.
-rw-r--r-- | lisp/org-capture.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 3992212..75b2686 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -625,7 +625,7 @@ of the day at point (if any) or the current HH:MM time." (setq org-overriding-default-time (org-get-cursor-date (equal goto 1)))) (cond - ((equal goto '(4)) (org-capture-goto-target)) + ((equal goto '(4)) (org-capture-goto-target keys)) ((equal goto '(16)) (org-capture-goto-last-stored)) (t (let* ((orig-buf (current-buffer)) |