; exwm-mode: Make sure that variables are set locally

This commit is contained in:
Daniel Mendler 2025-03-19 19:57:06 +01:00
parent da034e6778
commit 8ff1884044
No known key found for this signature in database
GPG key ID: D88ADB2A2693CA43

View file

@ -398,8 +398,7 @@ One of `line-mode' or `char-mode'.")
;; Redirect events when executing keyboard macros.
(push `(executing-kbd-macro . ,exwm--kmacro-map)
minor-mode-overriding-map-alist)
(make-local-variable 'mode-line-position)
(setq mode-name '(:eval (exwm--mode-name))
(setq-local mode-name '(:eval (exwm--mode-name))
buffer-read-only t
cursor-type nil
left-margin-width nil