[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wtf.el --- Look up conversational and computing acronyms
From: |
Michael Olson |
Subject: |
Re: wtf.el --- Look up conversational and computing acronyms |
Date: |
Sat, 13 Aug 2005 22:39:37 -0500 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
"Ehud Karni" <address@hidden> writes:
> On Fri, 12 Aug 2005 16:21:37 -0500, Michael Olson wrote:
>>
>> (defun wtf-is (term)
>> "Provide the definition for TERM.
>> When called interactively, print the message \"TERM is DEF\".
>> Otherwise, return DEF.
>>
>> DEF refers to the definition associated with TERM in `wtf-alist'."
>> (interactive
>> (list (completing-read "Term: "
>> (mapcar #'(lambda (term)
>> (downcase (car term)))
>
> The above line should be:
> (cons (downcase (car term)) nil)
> Or it won't work in 21.3 (fails in all-completion).
Thanks; I'll fix that.
--
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: anime, Debian, XHTML, wiki, Emacs Lisp
/` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #pulug
|_] | \| |_| Jabber: mwolson_at_hcoop.net
pgpBOQ3k9bcup.pgp
Description: PGP signature