From 4e4c0b5e4f45d3bf5ed94d596f67ff9e8abb0861 Mon Sep 17 00:00:00 2001 From: exu Date: Mon, 29 Apr 2024 15:49:07 +0200 Subject: [PATCH] Add case insensitive matching for auto-mode-alist --- arch-config/.config/doom/config.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch-config/.config/doom/config.el b/arch-config/.config/doom/config.el index 82c20300..10e780c9 100644 --- a/arch-config/.config/doom/config.el +++ b/arch-config/.config/doom/config.el @@ -82,6 +82,11 @@ (setq-default tab-width 4) (setq indent-line-function 'insert-tab) +;; enable case insensitive matching for 'auto-mode-alist' +;; see https://www.gnu.org/software/emacs/manual/html_node/emacs/Choosing-Modes.html +;; disabled by doom-start.el +(setq auto-mode-case-fold t) + ;; work around emacs hanging when opening any python requirements.txt file ;; see issue https://github.com/doomemacs/doomemacs/issues/5998 (advice-add #'pip-requirements-fetch-packages :override #'ignore)