Re: Associating assembly mode with .asm

Adrian Aichner <[email protected]>
Newsgroups gmane.emacs.xemacs.windows
Organization The XEmacs Project
Message-ID <[email protected]>
>>>>> "James" == James Liang <Liang> writes:

    James> By default, xemacs associates .s files with assembly source.  
    James> How do I get it to associate .asm files with assembly source?

James, this should do it (in .emacs):

(add-to-list 'auto-mode-alist '("\\.asm\\'" . asm-mode))

Norbert, should we add an autoload cookie for this to asm-mode.el?

    James> James

-- 
Adrian Aichner
 mailto:[email protected]
 http://www.xemacs.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.