From bd067b41d6ca161f27761b8b2bfcfaa402d81c87 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 24 May 2026 14:22:29 -0500 Subject: refactor: drop the unused pearl--cache-issues variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- pearl.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'pearl.el') 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 -- cgit v1.2.3