[Top][All Lists]

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

RE: [h-e-w] Re: Custom Major Mode!

From: Praveen Kumar R - CTD, Chennai.
Subject: RE: [h-e-w] Re: Custom Major Mode!
Date: Tue, 6 Jan 2004 12:43:58 +0530

>+ -----Original Message---------------------------------------------------
>| From: address@hidden 
>| [mailto:address@hidden
>| Sent: Monday, January 05, 2004 8:01 PM
>| To: address@hidden
>| Subject: [h-e-w] Re: Custom Major Mode!
>| Try this in your .emacs:
>| (setq auto-mode-alist (cons '("\\.s$" . asm-mode) auto-mode-alist))
>| -- 
>| Thanks,
>| Jeff

Hi Jeff,

Thanks for your hint. I tried the following and it works fine.

(load-file "c:/emacs-21.3/site-lisp/custom-asm-mode.el")
(add-to-list 'auto-mode-alist '("\\.s\\'" . custom-asm-mode))
(add-to-list 'auto-mode-alist '("\\.inc\\'" . custom-asm-mode))

Thanks and Regards,

Praveen Kumar R,
Member Technical Staff,
Networking Technologies Center,
Core Technologies Division,
HCL Technologies LTD.
Phone: 91-442-372-8366 x1348
Mobile: 91-984-100-2986
E-mail: address@hidden  

Programming is an art form that fights back.
This message and any attachments contained here are information that is
confidential, proprietary to HCL Technologies and its customers. Contents
may be privileged or otherwise protected by law. The information is solely
intended for the individual or the entity it is addressed to. If you are not
the intended recipient of this message, you are not authorized to read,
forward, print, retain, copy or disseminate this message or any part of it.
If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete it from your computer.  

reply via email to

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