branch: externals/dtache commit 34becd11d628eb49b922361f4bd2abdb469d9e96 Author: Niklas Eklund <niklas.ekl...@posteo.net> Commit: Niklas Eklund <niklas.ekl...@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)