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

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

getting abbrev table objects given a string with the same name


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

How can I do something like the following:

(define-abbrev (concat "c-mode" "-abbrev-table") "foo" "bar" nil)

What I want is to define an abbrev based on an abbrev table name that
is dyamically built.  The problem is, the 1st arg to define-abbrev
must be an abbrev table, not a string.  So, the problem becomes, how
can I get an abbrev table, given a string with the same name.
-- 
Benjamin Rutt


reply via email to

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