Make org-capture use `org-default-notes-file' if the file is not specified
commitcee04fa632570b12e9950386282bfde02a02ff6b
authorCarsten Dominik <carsten.dominik@gmail.com>
Tue, 20 Jul 2010 05:54:11 +0000 (20 07:54 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Tue, 20 Jul 2010 07:05:31 +0000 (20 09:05 +0200)
treeb5428888aa74dbef9e12c232f528e4ee9e807273
parentb1c7f8ee6ba8d04ee5b45ee47c636d83b029430b
Make org-capture use `org-default-notes-file' if the file is not specified

* lisp/org-macs.el (org-string-nw-p): New function.
* lisp/org-capture.el (org-capture-import-remember-templates): Interpret
an empty string as request to use `org-default-notes-file'.
(org-capture-target-buffer): If the FILE is not a (non-empty) string,
use `org-default-notes-file'.
doc/org.texi
lisp/org-capture.el
lisp/org-macs.el