Remove doom-major-mode-names & doom|set-mode-name

And replace it with buffer-local mode-name setters. This is more
explicit and less magical, which is easier for users to discover and
change, if they'd like.
This commit is contained in:
Henrik Lissner 2018-09-18 11:48:16 -04:00
parent e80f5e4c85
commit 4067c8937e
4 changed files with 6 additions and 36 deletions

View file

@ -47,6 +47,9 @@
("add-hook" "remove-hook")
("add-hook!" "remove-hook!")))
;; [pedantry intensifies]
(setq-hook! 'emacs-lisp-mode-hook mode-name "Elisp")
;; variable-width indentation is superior in elisp
(add-to-list 'doom-detect-indentation-excluded-modes 'emacs-lisp-mode nil #'eq)