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

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

[elpa] externals/dtache 34becd11d6 10/16: Remove temporary hack


From: ELPA Syncer
Subject: [elpa] externals/dtache 34becd11d6 10/16: Remove temporary hack
Date: Fri, 20 May 2022 05:57:42 -0400 (EDT)

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

    Remove temporary hack
    
    This is an inherent behavior of compile and should not be addressed
    like this in detached.
---
 detached-compile.el | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/detached-compile.el b/detached-compile.el
index 8d1fd6ae2a..ba31a88ec3 100644
--- a/detached-compile.el
+++ b/detached-compile.el
@@ -80,15 +80,7 @@ Optionally EDIT-COMMAND."
     (let* ((detached-enabled t)
            (detached-session-mode 'attach)
            (detached--current-session session))
-      (compilation-start (detached--session-command session))
-      (when detached-show-output-on-attach
-        ;; HACK: When attaching to a detached session and
-        ;; `detached-show-output-on-attach' is non-nil we need to switch
-        ;; to the compile buffer and go to the end. Otherwise it won't
-        ;; properly update when new output is coming
-        (other-window 1)
-        (end-of-buffer)
-        (other-window 1)))))
+      (compilation-start (detached--session-command session)))))
 
 ;;;###autoload
 (defun detached-compile-open (session)



reply via email to

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