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: Christopher Dimech
Subject: Re: org-capture-templates constructed from three distinct functions
Date: Sat, 12 Dec 2020 23:55:20 +0100

> Sent: Saturday, December 12, 2020 at 11:47 PM
> From: "Michael Heerdegen" <michael_heerdegen@web.de>
> To: help-gnu-emacs@gnu.org
> Subject: Re: org-capture-templates constructed from three distinct functions
>
> 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...?

Have played more with it and have used append.  Things now works as intended.

> Michael.
>
>
>



reply via email to

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