]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix typo in set-auto-mode--apply-alist
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 23 Jul 2021 18:18:21 +0000 (20:18 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 23 Jul 2021 18:18:21 +0000 (20:18 +0200)
* lisp/files.el (set-auto-mode--apply-alist): Fix typo in
ad5faa424a5 (bug#49712).

lisp/files.el

index dc803d3a4cfa79f5210f80036ec668e972fc9005..c0effd1ad6be8a66713de4175eadcfbfbd5eb674 100644 (file)
@@ -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.