[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dtache 954b642659 074/158: Demote attach commands to fu
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dtache 954b642659 074/158: Demote attach commands to functions |
Date: |
Wed, 19 Jan 2022 18:57:59 -0500 (EST) |
branch: externals/dtache
commit 954b64265960cb5d1dc54f7a329a6cd34ffb3f3d
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Demote attach commands to functions
The dtache-shell-command-attach and dtache-compile-attach is not
supposed to be used directly by users.
---
dtache-compile.el | 17 +++++++----------
dtache.el | 9 ---------
2 files changed, 7 insertions(+), 19 deletions(-)
diff --git a/dtache-compile.el b/dtache-compile.el
index 2fef2a6b9a..a2f4bd6f58 100644
--- a/dtache-compile.el
+++ b/dtache-compile.el
@@ -57,16 +57,6 @@ Optionally EDIT-COMMAND."
(dtache--dtach-mode 'create))
(recompile edit-command)))
-;;;###autoload
-(defun dtache-compile-attach (session)
- "Attach to SESSION with `compile'."
- (interactive
- (list (dtache-completing-read (dtache-get-sessions))))
- (let* ((dtache-compile-command t)
- (dtache--dtach-mode 'attach)
- (dtache--current-session session))
- (compilation-start nil)))
-
;;;;; Functions
(defun dtache-compile-advice (compilation-start &rest args)
@@ -95,6 +85,13 @@ Optionally EDIT-COMMAND."
(add-hook 'comint-preoutput-filter-functions
#'dtache--dtache-env-message-filter 0 t)
(add-hook 'comint-preoutput-filter-functions
#'dtache--dtach-eof-message-filter 0 t)))
+(defun dtache-compile-attach (session)
+ "Attach to SESSION with `compile'."
+ (let* ((dtache-compile-command t)
+ (dtache--dtach-mode 'attach)
+ (dtache--current-session session))
+ (compilation-start nil)))
+
;;;###autoload
(defun dtache-compile-setup ()
"Setup `dtache-compile'."
diff --git a/dtache.el b/dtache.el
index b533022bd6..e7df59af15 100644
--- a/dtache.el
+++ b/dtache.el
@@ -222,15 +222,6 @@ If called with prefix-argument the output is suppressed."
(let ((dtache-session-type 'shell-command))
(dtache-start-session command current-prefix-arg)))
-;;;###autoload
-(defun dtache-shell-command-attach (session)
- "Attach to `dtache' SESSION."
- (interactive
- (list (dtache-completing-read (dtache-get-sessions))))
- (let* ((dtache--current-session session)
- (dtache--dtach-mode 'attach))
- (dtache-start-session nil)))
-
;;;###autoload
(defun dtache-open-session (session)
"Open a `dtache' SESSION."
- [elpa] externals/dtache 9f948349a3 112/158: Rename dtache-detach to dtache-detach-dwim, (continued)
- [elpa] externals/dtache 9f948349a3 112/158: Rename dtache-detach to dtache-detach-dwim, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 4c47fa3ddb 122/158: Fix error in dtache-attach, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 71d7e3ad35 119/158: Update how duration is determined, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 5d78cfb3b3 142/158: Add attach command, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 94f207eeeb 149/158: Make dtache utilize notifications library, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 668f6aca83 157/158: Improve dtache-kill-session, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache e3af56003d 063/158: Remove unnecessary header declarations, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache dd9c2a0095 066/158: Add contributions section in README, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 59f2ac4ab5 084/158: Rename dtache--dtach-mode to dtache-session-mode, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 1cbeb7167e 136/158: Rename magic-command to dtache-command, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 954b642659 074/158: Demote attach commands to functions,
ELPA Syncer <=
- [elpa] externals/dtache 4778eda4df 085/158: Rename compile-session to post-compile-session, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 06cb91da1d 097/158: Make dtache-session-directory have a default value, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 4284951870 103/158: Make dtache-delete-sessions a command, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache f34f5b8a24 105/158: Harmonize function names, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 9756c43885 114/158: Improve dtache header, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 8baeb44c30 124/158: Remove unused variable, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache c08072612f 127/158: Update rerun command with prefix argument, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache caf2fc4914 154/158: Fix incorrect time, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache f9c287a925 054/158: Make create session function public, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache bc5bee8f56 062/158: Remove deprecated test files, ELPA Syncer, 2022/01/19