diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-24 14:22:29 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-24 14:22:29 -0500 |
| commit | bd067b41d6ca161f27761b8b2bfcfaa402d81c87 (patch) | |
| tree | 9d581f562922d61e9a9c16526e680a1b49087234 /pearl.el | |
| parent | 5a4e99bd4d3dd316a7bf080f8af8e47f4f30988a (diff) | |
| download | pearl-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.
Diffstat (limited to 'pearl.el')
| -rw-r--r-- | pearl.el | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 |
