[Zope] DTML and ZPT editing in XEmacs
Shane Hathaway
shane@zope.com
Thu, 27 Sep 2001 12:50:34 -0400
After much tinkering (since I'm no LISP guru), I finally figured out how
to get XEmacs to automatically go to html-mode whenever you open a .dtml
or .zpt file. Maybe this will be useful for others.
In your .emacs file (normally in your home directory), just add the
following two lines to the end:
(add-to-list 'auto-mode-alist '("\\.zpt$" . html-mode))
(add-to-list 'auto-mode-alist '("\\.dtml$" . html-mode))
Shane