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

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

Re: common abbrev table for major modes


From: peterson
Subject: Re: common abbrev table for major modes
Date: Sun, 19 Dec 2010 09:56:37 -0800 (PST)
User-agent: G2/1.0

Thank you for your help, it works!

On Dec 16, 11:08 pm, Stefan Monnier <monn...@iro.umontreal.ca> wrote:
> > (define-abbrev-table 'muse-mode-abbrev-table '(    ) nil :parents
> > '(text-mode-abbrev-table))
>
> The :parents should be (list text-mode-abbrev-table) (other you have
> a list containing the symbol `text-mode-abbrev-table' rather than a list
> containing an abbrev-table).
>
> You may also want to use
>
>   (abbrev-table-put foo-abbrev-table :parents (list text-mode-abbrev-table))
>
> if foo-abbrev-table already exists (calling `define-abbrev-table' on
> a table that already exists is not a good idea).
>
>         Stefan



reply via email to

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