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

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

Re: diary sexp question


From: bxf4
Subject: Re: diary sexp question
Date: Thu, 15 Dec 2005 00:46:36 -0800
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (darwin)

bxf4@yahoo.com writes:

> I was after something like this:
>
> &%%(let ((dayname (calendar-day-of-week date))
>      (day (extract-calendar-day date)))
>     (and (memq dayname '(4)) 
>      (or fall-quarter winter-quarter spring-quarter))) 15:30 faculty
>      meeting

Well, after posting this, it occurred to me to try adding parentheses
around the 'or' terms.  It appears to have worked.

&%%(let ((dayname (calendar-day-of-week date))
        (day (extract-calendar-day date)))
      (and (memq dayname '(4)) 
           (or (fall-quarter) (winter-quarter) (spring-quarter)))) 15:30 ...


reply via email to

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