[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] scratch/editorconfig-cc 3a7bb0d820 185/351: Clear translate cac
From: |
Stefan Monnier |
Subject: |
[nongnu] scratch/editorconfig-cc 3a7bb0d820 185/351: Clear translate cache on file reload |
Date: |
Thu, 13 Jun 2024 18:38:52 -0400 (EDT) |
branch: scratch/editorconfig-cc
commit 3a7bb0d8209dbd4fd8cb5ab8825ae5278337adda
Author: 10sr <8.slashes@gmail.com>
Commit: Stefan Monnier <monnier@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
- [nongnu] scratch/editorconfig-cc 302afbb3e3 150/351: Add file_type_emacs to editorocnfig-conf-mode keywords, (continued)
- [nongnu] scratch/editorconfig-cc 302afbb3e3 150/351: Add file_type_emacs to editorocnfig-conf-mode keywords, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 849229726d 127/351: Massive reformatting of docstrings., Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 53507a8f23 158/351: Add csharp-mode support (#154), Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 490381ede2 154/351: Prepare v0.7.11, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 17ba04ab68 141/351: Update editorconfig-conf-mode lighter text, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc b33e5568ff 172/351: Add test for various normal whitespace, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 270193df31 175/351: Fix batch command for emacs26-pretest testing, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 706348108c 181/351: Check editorconfig configs when read only state changes, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 96129d1007 190/351: Update doc, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 988220a65b 189/351: Update header.txt, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 3a7bb0d820 185/351: Clear translate cache on file reload,
Stefan Monnier <=
- [nongnu] scratch/editorconfig-cc 33ab2b6485 195/351: Add ert-test for file_type_ext, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 625073f793 224/351: Implement --hash-merge, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc baa846c702 226/351: Remove unused tests, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc d2963a3313 227/351: Use 0.8.0 for next version, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc e0d8fdbdbb 248/351: Use https for melpa badge, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 52abce4b1e 268/351: 2020, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc d7a7b6af8e 013/351: Add JS and HTML indent settings., Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc a6ab681950 038/351: Apply settings on major mode change, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 17f14d982a 071/351: Add ess-mode indentation support, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 8b5d83be82 074/351: Bump version: 0.7.1, Stefan Monnier, 2024/06/13