help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: org-capture-templates constructed from three distinct functions


From: Michael Heerdegen
Subject: Re: org-capture-templates constructed from three distinct functions
Date: Sat, 12 Dec 2020 23:47:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Christopher Dimech <dimech@gmx.com> writes:

> With two lists the problematic part is now to add the lists, as the
> following is failing.
>
> (defun captr-tmplt-writing ()
>    (interactive)
>    (message "tmplt-writing")
>    (setq captr-tmplt-writing tmplt-tdr)
>    (add-to-list 'captr-tmplt-writing tmplt-uwdiving)
>    (setq org-capture-templates captr-tmplt-writing) )

Hard to tell cause the example is incomplete.  Could be you use
`add-to-list', which is to add list elements, where you actually want to
append lists...?

Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]