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

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

[elpa] externals/detached 8a76055290: Bug fix: Make detached-recompile w


From: ELPA Syncer
Subject: [elpa] externals/detached 8a76055290: Bug fix: Make detached-recompile work as intended
Date: Tue, 23 Aug 2022 16:57:30 -0400 (EDT)

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

    Bug fix: Make detached-recompile work as intended
    
    Make sure compile-command and compilation-arguments are set correctly
    in the compilation buffer in order for detached-compile-recompile to
    work with the buffer.
---
 detached-compile.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/detached-compile.el b/detached-compile.el
index fe9a8ddd4e..76b3f17c91 100644
--- a/detached-compile.el
+++ b/detached-compile.el
@@ -91,6 +91,8 @@ Optionally EDIT-COMMAND."
   "Run in `compilation-start-hook' if `detached-enabled'."
   (when detached-enabled
     (setq detached--buffer-session detached--current-session)
+    (setq compile-command (detached--session-command 
detached--current-session))
+    (setq compilation-arguments nil)
     (detached-compile--replace-modesetter)
     (when detached-filter-ansi-sequences
       (add-hook 'compilation-filter-hook #'ansi-color-compilation-filter 0 t))



reply via email to

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