Re: Uses nxhtml-mode in an no-standard extension files
Niels Giesen <[email protected]>
| Newsgroups | gmane.emacs.nxml.general |
|---|---|
| Message-ID | <[email protected]> |
"ygneo01" <[email protected]> writes: > Hi everybody! > > I'm beginning to use nxhtml-mode and I'm a beginner in emacs too. > > I'd to know how I can use the mode in files with an arbitray extension > (such as .ctp, i.e) one-off: M-x nxhtml-mode automatically 'n' always: add (add-to-list 'auto-mode-alist '("\\.ctp\\'" . nxhtml-mode)) to your .emacs For this to take effect immediately (in the same session) type C-x C-e with your cursor right after the expression. > > Greetings and thanks a lot! > > > -- http://niels.kicks-ass.org ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/emacs-nxml-mode/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/emacs-nxml-mode/join (Yahoo! ID required) <*> To change settings via email: mailto:[email protected] mailto:[email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/