summaryrefslogtreecommitdiff
path: root/myrddin-mode.el
diff options
context:
space:
mode:
authorJakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>2019-08-03 14:31:02 -0400
committerJakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>2019-08-03 14:31:18 -0400
commit21c4727039020a279a8c741571f56160c22e3733 (patch)
tree1f4d811f6d0dc6851081663b756e91a2a78c51d2 /myrddin-mode.el
parent43692d414860864d896819ea63cc34edfc457ad6 (diff)
Add `auto-mode-alist' entry.
Diffstat (limited to 'myrddin-mode.el')
-rw-r--r--myrddin-mode.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/myrddin-mode.el b/myrddin-mode.el
index e7b4fc1..c144995 100644
--- a/myrddin-mode.el
+++ b/myrddin-mode.el
@@ -151,5 +151,8 @@
(setq comment-start "/*")
(setq comment-end "*/"))
+;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.myr\\'" . myrddin-mode))
+
(provide 'myrddin-mode)
;;; myrddin-mode.el ends here