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

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

[elpa] externals/detached 0c7586847f 7/7: Add kill command to detached-s


From: ELPA Syncer
Subject: [elpa] externals/detached 0c7586847f 7/7: Add kill command to detached-session-map
Date: Mon, 21 Nov 2022 10:57:33 -0500 (EST)

branch: externals/detached
commit 0c7586847fc7bff2a815a31a65a88162d1377a21
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>

    Add kill command to detached-session-map
---
 detached.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/detached.el b/detached.el
index 773c59443e..c6364b2960 100644
--- a/detached.el
+++ b/detached.el
@@ -232,6 +232,7 @@ If set to a non nil value the latest entry to
     (define-key map "a" #'detached-edit-session-annotation)
     (define-key map "d" #'detached-detach-session)
     (define-key map "e" #'detached-edit-and-run-session)
+    (define-key map "k" #'detached-kill-session)
     (define-key map "r" #'detached-rerun-session)
     (define-key map "w" #'detached-copy-session-command)
     (define-key map "W" #'detached-copy-session-output)
@@ -628,7 +629,7 @@ Optionally TOGGLE-SESSION-MODE."
 
 Optionally DELETE the session if prefix-argument is provided."
   (interactive
-   (list (detached-completing-read (detached-get-sessions))
+   (list (detached-session-in-context)
          current-prefix-arg))
   (when (detached-valid-session session)
     (when-let* ((default-directory (detached-session-directory session))



reply via email to

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