[Top][All Lists]

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

Re: patch for woman (woman-topic-at-point)

From: Emilio Lopes
Subject: Re: patch for woman (woman-topic-at-point)
Date: Mon, 29 Aug 2005 20:08:50 +0200
User-agent: Emacs Gnus

David Kastrup writes:

> Emilio Lopes <address@hidden> writes:
>> BTW, is there a more elegant way of writing the following?  I have
>> the feeling I'm missing obvious something here...
>> (and word-at-point (test-completion word-at-point
>> woman-topic-all-completions) word-at-point)

> (when (and word-at-point
>            (test-completion word-at-point
>            woman-topic-all-completions))
>   word-at-point)

> It's more verbose, but brings across the purpose somewhat better.

OTOH at a first glance *I* don't expect a control structures such as
`when' to return any useful value when the conditional clause fails.
But maybe I've been doing too much Scheme these days. (no, surely not

I'll use your suggestion, thanks.

reply via email to

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