summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-10-14 21:02:56 +0200
committerLeah Neukirchen <leah@vuxu.org>2022-10-14 21:02:56 +0200
commita570ca291c955cb0ce326ec3513c1d999dc1ae45 (patch)
treeb86b4b6c183e12553441b91a03ee94f847de6b29
parentd47780aa73f9e6d2e430d9c2bfcda5d2de921c76 (diff)
downloadmew-a570ca291c955cb0ce326ec3513c1d999dc1ae45.tar.gz
mew-a570ca291c955cb0ce326ec3513c1d999dc1ae45.tar.xz
mew-a570ca291c955cb0ce326ec3513c1d999dc1ae45.zip
mew.el: detect .mew files
-rw-r--r--mew.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/mew.el b/mew.el
index 1d141cf..baaedc9 100644
--- a/mew.el
+++ b/mew.el
@@ -10,5 +10,6 @@
 (put 'if 'scheme-indent-function 1)
 (put 'match 'scheme-indent-function 1)
 
-(put '-> 'scheme-indent-function #'(lambda (_ _ _) 1))
-(put '->> 'scheme-indent-function #'(lambda (_ _ _) 1))
+(setq auto-mode-alist
+      (cons '("\\.mew\\'" . scheme-mode)
+            auto-mode-alist))