auto-mode-alist should be set up with :mode
This commit is contained in:
parent
747db090e5
commit
315cbb7884
2 changed files with 20 additions and 28 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue