branch: externals/dtache commit 2354197acb2102d8dd2a5e8404bba5d2e081eb2b Author: Niklas Eklund <niklas.ekl...@posteo.net> Commit: Niklas Eklund <niklas.ekl...@posteo.net>
Fix error in dtache-compile --- dtache-compile.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dtache-compile.el b/dtache-compile.el index 57cec6a57d..923e475781 100644 --- a/dtache-compile.el +++ b/dtache-compile.el @@ -1,7 +1,6 @@ ;;; dtache-compile.el --- Dtache integration with compile -*- lexical-binding: t -*- ;; Copyright (C) 2022 Niklas Eklund - ;; This file is not part of GNU Emacs. ;; This program is free software; you can redistribute it and/or modify @@ -75,7 +74,7 @@ Optionally EDIT-COMMAND." (cl-letf* ((name-function (lambda (_) buffer-name)) (dtache--current-session (or dtache--current-session (dtache-create-session command)))) - (apply compilation-start `(,(dtache-dtach-command command t) + (apply compilation-start `(,(dtache-dtach-command dtache--current-session t) ,(or mode 'dtache-compilation-mode) ,name-function ,highlight-regexp)))))