fix(sh): don't set mode-name in sh-mode derivatives

Also capitalizes the name, as this is the convention for mode names in
most major modes.

Fix: #8178
This commit is contained in:
Henrik Lissner
2024-11-26 15:00:09 -05:00
parent bf9249d002
commit 94d967490f

View File

@ -43,7 +43,7 @@
(setq sh-indent-after-continuation 'always)
;; [pedantry intensifies]
(setq-hook! 'sh-mode-hook mode-name "sh")
(setq-hook! 'sh-mode-local-vars-hook mode-name "Sh")
;; recognize function names with dashes in them
(add-to-list 'sh-imenu-generic-expression