emacs_mode_setting_hint

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=)
Subject: Re: overriding HTML-mode
Date: 24 Jun 2000 10:18:27 GMT

Henrik Hansen <hh@mailserver.dk> writes:

> (mapcar #'(lambda (element)
>             (setq auto-mode-alist
>                   (pushnew element auto-mode-alist)))
>         (append '(("\\.html$"           . html-whatever-mode-you-like)
>                   ("\\.shtml$"          . shtml-whatever-mode-you-like))))

This seems rather complex.

(add-to-list 'auto-mode-alist '("\\.s?html\\'" . fundamental-mode))

This seems to be sufficient.  No?

kai
-- 
I like BOTH kinds of music.


the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu