]> git.eshelyaron.com Git - emacs.git/commit
editorconfig-core-handle.el: Fix regressions in fnmatch handling
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 8 Jul 2024 21:09:31 +0000 (17:09 -0400)
committerEshel Yaron <me@eshelyaron.com>
Tue, 9 Jul 2024 17:50:32 +0000 (19:50 +0200)
commit2046964510bd5c41f98d812cc0721c5f82fbafa6
treed609f85913c82e5ff96a6f983c7ebfbf12759d26
parentc100cdb34e511b955271f67947b37849d3174ba4
editorconfig-core-handle.el: Fix regressions in fnmatch handling

* lisp/editorconfig-core-handle.el
(editorconfig-core-handle-get-properties-hash): Fix computation of
relative file name.
(editorconfig-core-handle--fnmatch-p): Handle the case when `pattern`
doesn't have a `/` but does match the `/` character.

(cherry picked from commit dce31372a60a9d37591671b8570169c9117e416a)
lisp/editorconfig-core-handle.el