help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: dns mode


From: Stefan Monnier
Subject: Re: dns mode
Date: Thu, 06 May 2010 22:59:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> And similarly for zone-mode.  This also has the advantage of working
> regardless of the regexp used to match the file name.

A simpler solution is to not remove anything but add instead:

  (push '("\\.soa\\'" . my-mode) auto-mode-alist)

this will work regardless of the shape and number of entries in
auto-mode-alist.


        Stefan


reply via email to

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