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

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

Re: Trying to set an abbreviation in a custom mode


From: Davin Pearson
Subject: Re: Trying to set an abbreviation in a custom mode
Date: Mon, 8 Dec 2008 01:51:25 -0800 (PST)
User-agent: G2/1.0

On Dec 8, 7:03 pm, Ian Eure <i...@digg.com> wrote:
> C-x a l - `add-mode-abbrev' (define abbrev for sexp at point)
> C-x a i l - `inverse-add-mode-abbrev' (define expansion for sexp at  
> point)

This is not helpful because I want to add the abbreviation
programmatically, that is to say automatically every time I run Emacs.

C-h f add-mode-abbrev says:

Don't use this function in a Lisp program; use `define-abbrev'
instead.

I am stuck because I don't know how to get java-mode-abbrev-table into
my custom mode.

Please help me!



reply via email to

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