From 8fa638b36f477f2b81e131439729dda954d2e0ad Mon Sep 17 00:00:00 2001 From: Matthieu Lemerre Date: Fri, 17 Jun 2011 00:04:40 +0200 Subject: [PATCH 1/2] Add a new "empty" entry-type to org-capture. This special empty entry type allows to not insert any text in a template. This can be used e.g. to only jump to a location, so that the user can edit it by hand. --- lisp/org-capture.el | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 7d3f630..7e055f9 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -1178,6 +1178,7 @@ Point will remain at the first line after the inserted text." ((eq type 'item) (setq txt "- %?")) ((eq type 'checkitem) (setq txt "- [ ] %?")) ((eq type 'table-line) (setq txt "| %? |")) + ((eq type 'empty) (setq txt "")) ((member type '(nil entry)) (setq txt "* %?\n %a")))) (org-capture-put :template txt :type type))) -- 1.7.4.1