0

Is it possible to use emacs-lisp to call org-capture with some template being preselected?

My use case is: I need an org-mode External link of ‘elisp’ type that triggers a specific org-capture template.

1 Answer 1

1

If the template would interactively be called with letter r, say, then

(org-capture nil "r")

would do the job. See the org-capture doc-string for more details (you want the section about the KEYS argument).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.