[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/detached a75a9b13b8 3/5: Remove unused function
From: |
ELPA Syncer |
Subject: |
[elpa] externals/detached a75a9b13b8 3/5: Remove unused function |
Date: |
Fri, 23 Sep 2022 05:57:29 -0400 (EDT) |
branch: externals/detached
commit a75a9b13b8f7cc20cafa1eb71dc736e5284714ad
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Remove unused function
---
detached.el | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/detached.el b/detached.el
index 2ee30b7cdb..a70be71200 100644
--- a/detached.el
+++ b/detached.el
@@ -1087,17 +1087,6 @@ Optionally CONCAT the command return command into a
string."
"Return the session associated with ITEM."
(cdr (assoc item detached--session-candidates)))
-(defun detached--validate-unknown-sessions ()
- "Validate `detached' sessions with state unknown."
- (thread-last (detached--db-get-sessions)
- (seq-filter (lambda (it) (eq 'unknown (detached--session-state
it))))
- (seq-filter #'detached--session-accessible-p)
- (seq-do (lambda (it)
- (if (detached--session-missing-p it)
- (detached--db-remove-entry it)
- (setf (detached--session-state it) 'active)
- (detached--db-update-entry it t))))))
-
(defun detached--create-session-validator (session)
"Create a function to validate SESSION.