Le samedi 18 septembre 2010 à 20:03 +0100, Eric S Fraga a écrit :

> > (defun diary-relative (n day)
> >   "Diary entry that will always appear N days from day"
> >   (=
> >    (calendar-absolute-from-gregorian date)
> >    (+ n (calendar-absolute-from-gregorian day))))
> > 
> > I try to use it with a sexp like :
> > <%%(diary-relative (7 '(09 15 2010)))>
> > 
> > which doesn't work. I really need to seriously read about lisp
> > programming...
> 
> Possibly! ;-)
> 
> Try <%%(diary-relative 7 '(09 15 2010))>
> as the arguments to a function should not be in ()s.

Thanks, it works.

Julien.


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to