Seiji Zenitani
zenit****@mac*****
Thu Feb 15 08:03:14 JST 2007
On 2007/02/13, at 16:17, Roussanka Loukanova wrote: > On Tue, 13 Feb 2007, Seiji Zenitani wrote: > >> It's magic-mode-alist! >> >> (add-to-list 'auto-mode-alist '("\\.html\\'" . html-helper-mode)) >> (add-to-list 'magic-mode-alist >> (cons (car (rassq 'html-mode magic-mode-alist)) 'html-helper- >> mode)) > > I have put these settings into my ~/.emacs file. It works! I'd > appreciate > if you correct me, if ~/.emacs is not the best place to put the above > settings. I think both .emacs and .emacs.el are OK. If you want to know further details, take a look at the built-in info documents. M-x info --> Emacs * Emacs: (emacs). The extensible self-documenting text editor. --> Customization * Init File:: How to write common customizations in the `.emacs' file. The Init File, `~/.emacs' * Find Init:: How Emacs finds the init file. Seiji