aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-24 14:22:29 -0500
committerCraig Jennings <c@cjennings.net>2026-05-24 14:22:29 -0500
commitbd067b41d6ca161f27761b8b2bfcfaa402d81c87 (patch)
tree9d581f562922d61e9a9c16526e680a1b49087234
parent5a4e99bd4d3dd316a7bf080f8af8e47f4f30988a (diff)
downloadpearl-bd067b41d6ca161f27761b8b2bfcfaa402d81c87.tar.gz
pearl-bd067b41d6ca161f27761b8b2bfcfaa402d81c87.zip
refactor: drop the unused pearl--cache-issues variable
The variable was only ever declared and set to nil in pearl-clear-cache — never populated or read anywhere. I removed the defvar, the clear-cache line, and the stale "issues" mention in that docstring. No behavior change; the suite stays at 353 green.
-rw-r--r--pearl.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/pearl.el b/pearl.el
index f860cb2..849046d 100644
--- a/pearl.el
+++ b/pearl.el
@@ -219,8 +219,6 @@ Holds the `pearl-state-to-todo-mapping' value used to build
when the mapping changes.")
;; Cache variables
-(defvar pearl--cache-issues nil
- "Cache for issues.")
(defvar pearl--cache-teams nil
"Cache for teams.")
@@ -1241,11 +1239,10 @@ none, returns nil. FORCE refreshes the collection cache first."
;;;###autoload
(defun pearl-clear-cache ()
- "Clear the Linear lookup caches (teams, states, per-team collections, issues).
+ "Clear the Linear lookup caches (teams, states, per-team collections, views).
Use after renaming things in Linear, or to force the next lookup to refetch."
(interactive)
- (setq pearl--cache-issues nil
- pearl--cache-teams nil
+ (setq pearl--cache-teams nil
pearl--cache-states nil
pearl--cache-team-collections nil
pearl--cache-views nil