[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[h-e-w] Re: Custom Major Mode!
From: |
Jeffery B. Rancier |
Subject: |
[h-e-w] Re: Custom Major Mode! |
Date: |
Mon, 05 Jan 2004 09:31:03 -0500 |
User-agent: |
Gnus/5.110001 (No Gnus v0.1) Emacs/21.3 (windows-nt) |
"Praveen Kumar R - CTD, Chennai." <address@hidden> writes:
> I am using XEmacs 21.4 on Windows 2000 Professional. I work on a
> custom assembly language which has a major mode to support
> highlighting
> and indentation written with elisp. It is in the Solaris
> environment. I downloaded that elisp file to my local machine. How
> do I make
> XEmacs to use this mode for the files with extension '.s'? Will the
> same elisp file work on Windows without any modification?
Try this in your .emacs:
(setq auto-mode-alist (cons '("\\.s$" . asm-mode) auto-mode-alist))
--
Thanks,
Jeff