org-capture.el (org-capture): Fix bug introduced by commit 1737d3

* org-capture.el (org-capture): Fix bug introduced by commit
1737d3.

Thanks to Simon Thum for reporting this.
This commit is contained in:
Bastien Guerry 2012-08-11 19:50:20 +02:00
parent b422af282d
commit e5c93760c8
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ bypassed."
org-capture-link-is-already-stored)
(plist-get org-store-link-plist :annotation)
(ignore-errors (org-store-link nil))))
(entry (or entry (org-capture-select-template keys)))
(entry (org-capture-select-template keys))
initial)
(setq initial (or org-capture-initial
(and (org-region-active-p)