branch: scratch/editorconfig-cc commit 3a7bb0d8209dbd4fd8cb5ab8825ae5278337adda Author: 10sr <8.slas...@gmail.com> Commit: Stefan Monnier <monn...@iro.umontreal.ca>
Clear translate cache on file reload --- editorconfig-fnmatch.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/editorconfig-fnmatch.el b/editorconfig-fnmatch.el index 8126060ef6..69a0c766dc 100644 --- a/editorconfig-fnmatch.el +++ b/editorconfig-fnmatch.el @@ -55,8 +55,11 @@ (require 'cl-lib) (defvar editorconfig-fnmatch--cache-hashtable - (make-hash-table :test 'equal) + nil "Cache of shell pattern and its translation.") +;; Clear cache on file reload +(setq editorconfig-fnmatch--cache-hashtable + (make-hash-table :test 'equal)) (defconst editorconfig-fnmatch--left-brace-regexp