Capture: Fix the case of using a template file
commitbca27d9215d987517de1aab26d2712bab03329ba
authorCarsten Dominik <carsten.dominik@gmail.com>
Wed, 14 Jul 2010 09:03:27 +0000 (14 11:03 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Wed, 14 Jul 2010 09:03:27 +0000 (14 11:03 +0200)
tree7ce7ccb103945c1f962124bf520fc3cfb8dcf7ec
parenta39e5ef2294b157852b7f349460a9af448a6cd2c
Capture: Fix the case of using a template file

* lisp/org-capture.el (org-capture-set-plist): Make sure txt is a string
before calling `string-match'.
(org-capture-templates): Fix customization type.

Modified from a patch proposal by Johan Friis.

TINYCHANGE
lisp/org-capture.el