[Top][All Lists]

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

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

From: Stefan Monnier
Subject: Re: patch for woman (woman-topic-at-point)
Date: Fri, 26 Aug 2005 14:05:29 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> !               (let ((default (and (current-word)
> !                                   (car (assoc (current-word)
> !                                               
> woman-topic-all-completions)))))

Instead of assoc, I'd recommend you use test-completion.  It's probably
equivalent given the current code, but it makes the intention much more
clear and will work if the completion table is ever changed to some
other format.


reply via email to

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