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

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

Trying to set an abbreviation in a custom mode


From: Davin Pearson
Subject: Trying to set an abbreviation in a custom mode
Date: Sun, 7 Dec 2008 18:40:23 -0800 (PST)
User-agent: G2/1.0

I tried the following code to get "sop" as an abbreviation for
"System.out.println" in a custom mode but it doesn't appear to work:

(define-abbrev global-abbrev-table "sop" "System.out.println(")

Another alternative would be for me to import java-mode-abbrev-table
into the current mode.  Any hints on how to do this?

Here is my version info (from M-x report-emacs-bug)

In GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600)
 of 2008-03-27 on RELEASE
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'



reply via email to

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