From 38be945b276f6d423131b864a690a28f72879e42 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 4 Jun 2025 18:01:09 +0200 Subject: Fix ‘auto-mode-alist’ setting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xcompose-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3