auto-mode-alist should be set up with :mode

This commit is contained in:
bth 2026-05-19 13:35:58 -07:00
commit 315cbb7884
2 changed files with 20 additions and 28 deletions

View file

@ -22,6 +22,7 @@
"t" 'um-tag-dwim-inhibit-read-only
)
;;;###autoload
(define-derived-mode um-mode special-mode "um-mode"
"major mode for *.um file lists. Mostly `special-mode' with a few more commands.
@ -30,7 +31,4 @@
(read-only-mode)
)
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.um\\'" . um-mode))
(provide 'um-mode)