[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: zone-mode
From: |
Martin Rydstr|m |
Subject: |
Re: zone-mode |
Date: |
24 Jan 2004 22:46:18 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
Lars Bungum <lars@bungum.no> writes:
> My zone-files don't have a particular extension, though, so my next
> challenge would be to get hold of some lines for my .emacs that would
> open zone-mode for all files opened in my zone-file directory. How can
> I do this?
(add-to-list 'auto-mode-alist (cons "\\`/etc/namedb/Z/" 'zone-mode))
(I keep my zone-files in /etc/namedb/Z/.)
Regards,
'mr
--
[Emacs] is written in Lisp, which is the only computer language that is
beautiful. -- Neal Stephenson, _In the Beginning was the Command Line_