On 10/03/2022 19:53, Ignacio Casso wrote:
For example, if we call this:

   (let ((org-capture-templates
          '(("d" "default" entry
             (file+headline org-default-notes-file "Tasks")
             "* %?"))))
     (org-capture nil "d")))

It produces the error:

   (error "No capture template referred to by \"d\" keys")

Ignacio, could you, please, try the following?

    (custom-set-variables
     '(org-capture-templates
       '(("d" "default" entry
          (file "/tmp/capture-test.org")
          "* %?"))))
    (org-capture nil "d")

On 09/03/2022 23:39, c.buhtz wrote in https://list.orgmode.org/7395938a0e6b06139239bc70ba7c2...@posteo.de:> Why using custom-set variables here? Is there something wrong with just doing
(org-export-with-broken-links t)
?

I do not think that something similar may happen with `org-export-with-broken-links', but I suppose, the example above is another argument to prefer setting variables through customization interface instead of bare `setq' in general.

Reply via email to