|
From: | Reed Sheridan |
Subject: | Re: [Chicken-users] EOF syntax as Emacs comment? |
Date: | Fri, 10 Feb 2006 01:38:39 -0600 |
(mmm-add-mode-ext-class nil "\\.scm" 'scheme-eof)
(mmm-add-classes
'((scheme-eof
:submode text-mode
:front "#..EOF"
:back "^EOF$")))
(add-to-list 'auto-mode-alist '("\\.scm" . mmm-mode))
This declares "scheme-eof" as an extension class, provides the regexes
to match the beginning and end of the EOF section, and specifies the
mode to use within that section (I chose text-mode). Finally, it adds
mmm-mode to the auto-mode-list for .SCM files.
[Prev in Thread] | Current Thread | [Next in Thread] |