Skip to content

Commit

Permalink
fix: Docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Jun 29, 2024
1 parent 78ad26a commit 7ecd0f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions centaur-tabs-functions.el
Original file line number Diff line number Diff line change
Expand Up @@ -389,14 +389,14 @@ That is, remove it from the tab sets store."
(mapcar 'centaur-tabs-tab-value (centaur-tabs-tabs tabset)))

(defun centaur-tabs-get-cache (cache key)
"Return the per-frame cached value of KEY in CACHE."
"Return the cached value of KEY in CACHE."
(when-let* ((cache (format "%s" cache))
(cached-hash (gethash cache centaur-tabs-display-hash))
((hash-table-p cached-hash)))
(gethash key cached-hash nil)))

(defun centaur-tabs-put-cache (cache key value)
"Set the per-frame cached value of KEY in CACHE to VALUE."
"Set the cached value of KEY in CACHE to VALUE."
(let* ((cache (format "%s" cache))
(cached-hash (gethash cache centaur-tabs-display-hash))
(hash (if (hash-table-p cached-hash) cached-hash (make-hash-table))))
Expand Down

0 comments on commit 7ecd0f2

Please sign in to comment.