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

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

Re: execute commands if date matches YYYYMMDD


From: PJ Weisberg
Subject: Re: execute commands if date matches YYYYMMDD
Date: Wed, 3 Nov 2010 03:28:53 +0000

On Wed, Nov 3, 2010 at 1:58 AM, Will Willis <will.willis@gmail.com> wrote:

> ; this would trigger for today
> (if (equal "20101102" (format-time-string "%Y%m%d))
>     (presentation-font)
> )
> Thanks in advance.

That works when I try it, aside from the fact that you're missing a "
after the d.  Maybe you have a different version?  Try string-equal
instead of equal.



reply via email to

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