diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-06-04 17:55:45 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-06-04 17:55:45 +0200 |
commit | 06c5d1ee8026d0f7b90d12e0a28a424f2d4aa376 (patch) | |
tree | 1a8064c8197563fef66245440e6e1bb636f26772 | |
parent | bf809a5fc7c0544fbe1c21aa9dea16d2a4021ef4 (diff) |
Set ‘auto-mode-alist’
-rw-r--r-- | xcompose-mode.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xcompose-mode.el b/xcompose-mode.el index 160df67..2f0e323 100644 --- a/xcompose-mode.el +++ b/xcompose-mode.el @@ -41,6 +41,13 @@ ;;; Code: +;;;###autoload +(dolist (path (list "\\`/usr/share/X11/locale/[^/]+/Compose\\'" + "\\.XCompose\\'" + (getenv "XCOMPOSEFILE"))) + (when path + (add-to-list 'auto-mode-alist path))) + ;;; Faces |