Nick Dokos <nicholas.do...@hp.com> writes:

Hi Nick,

>> I was curious how to get that done, but I couldn't find a diary for
>> "each last day of a month" in diary, too.  "Each second thursday in a
>> month" is on emacswiki, but all those complex dates I found are wired
>> to a specific day of the week...
>
> "Bah, how hard can that be?" - famous last words, now eaten (I did
> choke on them along the way) ...
>
> Here's my attempt (tested *very* lightly):
>
> &%%(let ((lastday (calendar-last-day-of-month (calendar-extract-month date)
>                                               (calendar-extract-year date)))
>          (day (calendar-extract-day date)))
>         (= day lastday))         last day of month

Using `calendar-last-day-of-month' is unfair. ;-)

Bye,
Tassilo


_______________________________________________
Emacs-orgmode mailing list
Remember: 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