Capture: Default template when no capture templates are defined
commite3b93cda2e5717c9444a176bedf6663df7d60c25
authorCarsten Dominik <carsten.dominik@gmail.com>
Wed, 21 Jul 2010 06:28:20 +0000 (21 08:28 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Wed, 21 Jul 2010 06:28:20 +0000 (21 08:28 +0200)
tree32850072ad3f5ea0a89b49de255850c4906f4358
parentfff87c2c9ff6d802f6c6c44cd0975274c5b00776
Capture: Default template when no capture templates are defined

* lisp/org-capture.el (org-capture-target-buffer): Throw an error
if we have no target file.
(org-capture-select-template): Use a default template if the user has
not specified any.
lisp/org-capture.el