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

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

[elpa] externals/detached 00bf84e8f5: Update start of detached compile


From: ELPA Syncer
Subject: [elpa] externals/detached 00bf84e8f5: Update start of detached compile
Date: Tue, 22 Nov 2022 09:57:32 -0500 (EST)

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

    Update start of detached compile
    
    Only register session if it hasn't already been started.
---
 detached-compile.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/detached-compile.el b/detached-compile.el
index abecc8ea6f..cc0923a175 100644
--- a/detached-compile.el
+++ b/detached-compile.el
@@ -134,7 +134,8 @@ Optionally EDIT-COMMAND."
                                              (detached-session-start-command
                                               detached-current-session
                                               :type 'string))
-          (detached-register-session detached-current-session)
+          (unless (detached-session-started-p detached-current-session)
+            (detached-register-session detached-current-session))
           (apply compilation-start `(,(if (detached-session-active-p 
detached-current-session)
                                           (detached-session-attach-command 
detached-current-session
                                                                            
:type 'string)



reply via email to

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