Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
jinnovation committed Jan 11, 2025
1 parent c9a6bf6 commit d6750ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kele.el
Original file line number Diff line number Diff line change
Expand Up @@ -686,8 +686,7 @@ returns nil."
(cl-defmethod proxy-active-p ((manager kele--proxy-manager)
context)
"Return non-nil if a proxy serve is active for CONTEXT in MANAGER."
(when-let* ((res (assoc context (oref manager records))))
(cdr res)))
(cdr (assoc context (oref manager records))))

(defvar kele--global-proxy-manager (kele--proxy-manager))

Expand Down

0 comments on commit d6750ae

Please sign in to comment.