mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
fix(emacs-lisp): only set mode-name in elisp buffers
And not emacs-lisp-mode derived modes.
This commit is contained in:
parent
d6037a24d4
commit
9111d9b74c
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ See `+emacs-lisp-non-package-mode' for details.")
|
||||||
;; As of Emacs 28+, `emacs-lisp-mode' uses a shorter label in the mode-line
|
;; As of Emacs 28+, `emacs-lisp-mode' uses a shorter label in the mode-line
|
||||||
;; ("ELisp/X", where X = l or d, depending on `lexical-binding'). In <=27,
|
;; ("ELisp/X", where X = l or d, depending on `lexical-binding'). In <=27,
|
||||||
;; it uses "Emacs-Lisp". The former is more useful, so I backport it:
|
;; it uses "Emacs-Lisp". The former is more useful, so I backport it:
|
||||||
(setq-hook! 'emacs-lisp-mode-hook
|
(setq-hook! 'emacs-lisp-mode-local-vars-hook
|
||||||
mode-name `("ELisp"
|
mode-name `("ELisp"
|
||||||
(lexical-binding (:propertize "/l"
|
(lexical-binding (:propertize "/l"
|
||||||
help-echo "Using lexical-binding mode")
|
help-echo "Using lexical-binding mode")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue