diff options
Diffstat (limited to 'xcompose-mode.el')
-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 |