emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/dtache 3942dc6326 135/158: Remove unnecessary checks fo


From: ELPA Syncer
Subject: [elpa] externals/dtache 3942dc6326 135/158: Remove unnecessary checks for dtache-session-mode
Date: Wed, 19 Jan 2022 18:58:06 -0500 (EST)

branch: externals/dtache
commit 3942dc63268b89ebd3e912a44684d35708a838c0
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>

    Remove unnecessary checks for dtache-session-mode
---
 dtache-eshell.el | 3 ---
 dtache-shell.el  | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/dtache-eshell.el b/dtache-eshell.el
index 8fbde70a49..5083c31f88 100644
--- a/dtache-eshell.el
+++ b/dtache-eshell.el
@@ -113,9 +113,6 @@ If prefix-argument directly DETACH from the session."
                                `(,eshell-last-command-name
                                  ,@eshell-last-arguments)
                                " "))
-           (dtache-session-mode (if (dtache-attachable-command-p command)
-                                   dtache-session-mode
-                                 'create))
            (session (dtache-create-session command)))
       (setq eshell-last-arguments (dtache-dtach-command session))
       (setq dtache--buffer-session session)
diff --git a/dtache-shell.el b/dtache-shell.el
index 5851465d3d..483ae3360f 100644
--- a/dtache-shell.el
+++ b/dtache-shell.el
@@ -105,9 +105,6 @@ cluttering the comint-history with dtach commands."
   "Create a dtache session based on STRING and send to PROC."
   (with-connection-local-variables
    (let* ((command (substring-no-properties string))
-          (dtache-session-mode (if (dtache-attachable-command-p command)
-                                   dtache-session-mode
-                                 'create))
           (dtach-command (dtache-dtach-command command t)))
      (comint-simple-send proc dtach-command))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]