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

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

Re: getting abbrev table objects given a string with the same name


From: Benjamin Rutt
Subject: Re: getting abbrev table objects given a string with the same name
Date: Tue, 22 Jun 2004 17:06:43 -0400
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Thien-Thi Nguyen <ttn@glug.org> writes:

> Benjamin Rutt <rutt.4+news@osu.edu> writes:
>
>> how can I get an abbrev table, given a string with the same name.
>
> this expression doesn't answer your question directly,
> but in understanding it you will find the answer anyway:
>
> (let ((name (concat "describe" "-" "function")))
>   (eval `(,(intern name) ',(intern name))))

Thanks, `intern' and `eval' did the trick.
-- 
Benjamin Rutt


reply via email to

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