diff --git a/elisp/hy.el b/elisp/hy.el index e40d7d3..1856603 100644 --- a/elisp/hy.el +++ b/elisp/hy.el @@ -326,6 +326,9 @@ (setq font-lock-defaults '(hy-font-lock-kwds))) +;;;###autoload +(add-to-list 'auto-mode-alist '("\\.hy\\'" . hy-mode)) + ;;;###autoload (define-derived-mode hy-mode prog-mode "Hy" "Major mode for editing Hy files."