[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 5aad235 126/135: Added function to invalidate cache
From: |
Ian Dunn |
Subject: |
[elpa] master 5aad235 126/135: Added function to invalidate cache |
Date: |
Mon, 17 Feb 2020 10:53:05 -0500 (EST) |
branch: master
commit 5aad235ed85639f5c215af0a2d015de8b9dc201c
Author: Ian Dunn <address@hidden>
Commit: Ian Dunn <address@hidden>
Added function to invalidate cache
* org-edna.el (org-edna-invalidate-cache): New interactive defun.
---
org-edna.el | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/org-edna.el b/org-edna.el
index d9ebc2b..f050af7 100644
--- a/org-edna.el
+++ b/org-edna.el
@@ -593,6 +593,17 @@ following reasons:
;; Adds the entry to the cache, and returns the results.
(org-edna--add-to-finder-cache func-sym args)))))
+(defun org-edna-invalidate-cache ()
+ "Invalidate the finder cache.
+
+Use this only if there's a problem with the cache.
+
+When an Org mode buffer is reverted, the cache will be made
+useless for that buffer. Therefore, it's a good idea to call
+this after reverting Org mode buffers."
+ (interactive)
+ (setq org-edna--finder-cache (make-hash-table :test 'equal)))
+
;;; Interactive Functions
- [elpa] master 972968a 116/135: Modified cache to only work for specific finders, (continued)
- [elpa] master 972968a 116/135: Modified cache to only work for specific finders, Ian Dunn, 2020/02/17
- [elpa] master 6287170 122/135: Removed remnants of old build system, Ian Dunn, 2020/02/17
- [elpa] master dcad8cc 113/135: Added org-edna-describe-keyword function, Ian Dunn, 2020/02/17
- [elpa] master dc20076 112/135: Quick fix for handle finders., Ian Dunn, 2020/02/17
- [elpa] master 342f3dd 109/135: Improved contributing section in documentation, Ian Dunn, 2020/02/17
- [elpa] master e6d38ec 086/135: Added relatives finder, Ian Dunn, 2020/02/17
- [elpa] master c02a28f 117/135: Various fixes from testing, Ian Dunn, 2020/02/17
- [elpa] master ef04c24 123/135: Added has-tags? and matches? conditions, Ian Dunn, 2020/02/17
- [elpa] master bf8ecda 135/135: Add 'packages/org-edna/' from commit 'd5bce9db875a7ab2b085aca265ff7f3350d224ba', Ian Dunn, 2020/02/17
- [elpa] master db8a046 124/135: Bumped version, Ian Dunn, 2020/02/17
- [elpa] master 5aad235 126/135: Added function to invalidate cache,
Ian Dunn <=
- [elpa] master 491c810 132/135: Added minor mode for Edna, Ian Dunn, 2020/02/17
- [elpa] master fd1de2f 125/135: Fixed stacking multiple conditions, Ian Dunn, 2020/02/17
- [elpa] master d5c8002 121/135: Inverted definition of consideration, Ian Dunn, 2020/02/17
- [elpa] master f549ea2 090/135: Added section in the documentation about updating the documentation, Ian Dunn, 2020/02/17
- [elpa] master 31c40be 100/135: Fixed up Changelog in documentation, Ian Dunn, 2020/02/17