From 2a231378fa5b10049b52c9197f037b522e0d22a1 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 23 Jul 2021 20:18:21 +0200 Subject: [PATCH] Fix typo in set-auto-mode--apply-alist * lisp/files.el (set-auto-mode--apply-alist): Fix typo in ad5faa424a5 (bug#49712). --- lisp/files.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/files.el b/lisp/files.el index dc803d3a4cf..c0effd1ad6b 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -3221,7 +3221,7 @@ call is via directory-locals and extra checks should be done." (if case-insensitive-p ;; Filesystem is case-insensitive. (let ((case-fold-search t)) - (assoc-default alist 'string-match)) + (assoc-default name alist 'string-match)) ;; Filesystem is case-sensitive. (or ;; First match case-sensitively. -- 2.39.2