[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
execute commands if date matches YYYYMMDD
From: |
Will Willis |
Subject: |
execute commands if date matches YYYYMMDD |
Date: |
Tue, 2 Nov 2010 20:58:14 -0500 |
I'm giving a presentation to a group this week. The presentation will have many code samples I'll be sharing from emacs.
I have a few functions I call to modify my environment (remove color-themes/modify font and size) specifically for presentations.
I'd like to create a function that will load my alternative settings IF that day is the day of my presentation. What I have is not working:
; this would trigger for today
(if (equal "20101102" (format-time-string "%Y%m%d))
(presentation-font)
)
Thanks in advance.
- execute commands if date matches YYYYMMDD,
Will Willis <=