Hello,

I just noticed, that if I use a capture template like 

("p" "foo" entry (file+olp "" "foo") "* %?\n%t\n%i")

It complains about:

Template key: 
org-find-olp: Wrong type argument: stringp, nil

It works when using

("p" "foo" entry (file+olp org-default-notes-file "foo") "* %?\n%t\n%i")

However, documentation claims:

If that file name is the empty string, it defaults to org-default-notes-
file.

http://orgmode.org/manual/Template-elements.html#Template-elements

org-mode that was shipped with Emacs 24.5.

Is that a known bug? Or is it no bug at all?

Best Regards,
Florian


Reply via email to