aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-06-04 18:01:09 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-06-04 18:01:09 +0200
commit38be945b276f6d423131b864a690a28f72879e42 (patch)
tree32e1bab232917f72b65bd65e68fcb007745121c0
parent3623249c3c9ef49f8e50fb9256dff0d9d0a53a97 (diff)
Fix ‘auto-mode-alist’ setting
-rw-r--r--xcompose-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/xcompose-mode.el b/xcompose-mode.el
index f6f77df..261a3af 100644
--- a/xcompose-mode.el
+++ b/xcompose-mode.el
@@ -46,7 +46,7 @@
"\\.XCompose\\'"
(getenv "XCOMPOSEFILE")))
(when path
- (add-to-list 'auto-mode-alist path)))
+ (add-to-list 'auto-mode-alist (cons path 'xcompose-mode))))
;;; Faces