|
From: | Sven Bretfeld |
Subject: | If clause depending on name of the day |
Date: | 3 Apr 2012 21:16:39 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Hi all Is it possible to have an if-condition that looks for the current day? So that the then-expression does something different on Tuesday than on Friday? This is not working: (if (string-equal 'current-time-string ".*Tue.*") (delete-other-windows) (split-window-horizontally)) Thanks for help Sven p.s. unnecessary to mention that I have only a weak knowledge of elisp.
[Prev in Thread] | Current Thread | [Next in Thread] |