[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/detached a57a728382 22/38: Remove detached-session-mode
From: |
ELPA Syncer |
Subject: |
[elpa] externals/detached a57a728382 22/38: Remove detached-session-mode 'attach |
Date: |
Thu, 17 Nov 2022 17:57:55 -0500 (EST) |
branch: externals/detached
commit a57a72838204eb8c49ac5e8a674d5847d5c97093
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Remove detached-session-mode 'attach
---
detached-compile.el | 1 -
detached-eshell.el | 3 +--
detached-shell.el | 3 +--
detached-vterm.el | 3 +--
detached.el | 1 -
5 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/detached-compile.el b/detached-compile.el
index 5ec663fff2..cc5fcdd934 100644
--- a/detached-compile.el
+++ b/detached-compile.el
@@ -85,7 +85,6 @@ Optionally EDIT-COMMAND."
"Attach to SESSION with `compile'."
(when (detached-valid-session session)
(let* ((detached-enabled t)
- (detached-session-mode 'attach)
(detached-current-session session)
(detached-local-session (detached-session-local-p session))
(default-directory (detached-session-directory session)))
diff --git a/detached-eshell.el b/detached-eshell.el
index 0712b0f3bf..43e14a56a1 100644
--- a/detached-eshell.el
+++ b/detached-eshell.el
@@ -77,8 +77,7 @@ If prefix-argument directly DETACH from the session."
(list (detached-select-host-session)))
(when (detached-valid-session session)
(if (detached-session-active-p session)
- (cl-letf* ((detached-session-mode 'attach)
- (input
+ (cl-letf* ((input
(detached-session-attach-command session
:type 'string))
((symbol-function #'eshell-add-to-history) #'ignore))
diff --git a/detached-shell.el b/detached-shell.el
index c6ba5de14f..e3489cabe9 100644
--- a/detached-shell.el
+++ b/detached-shell.el
@@ -90,8 +90,7 @@ cluttering the `comint-history' with dtach commands."
(defun detached-shell--attach-input-sender (proc _string)
"Attach to `detached--session' and send the attach command to PROC."
- (let* ((detached-session-mode 'attach)
- (input
+ (let* ((input
(detached-session-attach-command detached-current-session
:type 'string)))
(comint-simple-send proc input)))
diff --git a/detached-vterm.el b/detached-vterm.el
index c62fb8f1f0..4cfd903ca4 100644
--- a/detached-vterm.el
+++ b/detached-vterm.el
@@ -79,8 +79,7 @@ Optionally DETACH from it."
(string= (detached-session-host-name
it) host-name)))
(seq-filter #'detached-session-active-p))))
(detached-completing-read sessions))))
- (let ((detached-session-mode 'attach)
- (command
+ (let ((command
(detached-session-attach-command session
:type 'string)))
(setq detached-buffer-session session)
diff --git a/detached.el b/detached.el
index 49b07ebd29..4fb829888c 100644
--- a/detached.el
+++ b/detached.el
@@ -895,7 +895,6 @@ This function uses the `notifications' library."
(defun detached-shell-command-attach-session (session)
"Attach to SESSION with `async-shell-command'."
(let* ((detached-current-session session)
- (detached-session-mode 'attach)
(inhibit-message t))
(cl-letf* (((symbol-function #'set-process-sentinel) #'ignore)
(buffer (get-buffer-create detached--shell-command-buffer))
- [elpa] externals/detached d1c3861e8e 16/38: Add public function for session directory, (continued)
- [elpa] externals/detached d1c3861e8e 16/38: Add public function for session directory, ELPA Syncer, 2022/11/17
- [elpa] externals/detached ca0ee7e465 37/38: Add detach key to session map, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 274993d9c9 20/38: Remove 'started state, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 51858bceb7 26/38: Begin rework of how to start a session, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 65c661bc9c 27/38: Change detached env to text-mode, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 3dc3651e98 18/38: Add session working directory function, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 88618a9cee 17/38: Add public function for session command, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 4b3609385d 01/38: Start session rewrite, ELPA Syncer, 2022/11/17
- [elpa] externals/detached f0f9728e2c 31/38: Make local predicate private, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 09b37f681c 30/38: Add detached-with-session macro, ELPA Syncer, 2022/11/17
- [elpa] externals/detached a57a728382 22/38: Remove detached-session-mode 'attach,
ELPA Syncer <=
- [elpa] externals/detached 4e36d9de69 10/38: Make current session public, ELPA Syncer, 2022/11/17
- [elpa] externals/detached f896cd9777 32/38: Reformat code, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 0d607044d9 03/38: Add session started predicate, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 4eb5e3e9aa 04/38: Add side effect to start command, ELPA Syncer, 2022/11/17
- [elpa] externals/detached b3fa3b9893 13/38: Move functions to end to prepare for deprecation, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 1604a7b5b8 11/38: Make detached-buffer-session public, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 26210dc5a8 28/38: Improve the core structure, ELPA Syncer, 2022/11/17