[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dtache 0c8241a33d 107/158: Update actions from defvar t
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dtache 0c8241a33d 107/158: Update actions from defvar to defcustom |
Date: |
Wed, 19 Jan 2022 18:58:03 -0500 (EST) |
branch: externals/dtache
commit 0c8241a33d1a5bfb87ac9e1e0aaa859b722b5338
Author: Niklas Eklund <niklas.eklund@zenseact.com>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Update actions from defvar to defcustom
---
dtache-compile.el | 12 +++++++++---
dtache-eshell.el | 8 +++++++-
dtache-shell.el | 16 ++++++++++++----
3 files changed, 28 insertions(+), 8 deletions(-)
diff --git a/dtache-compile.el b/dtache-compile.el
index 67a4fd4bc2..77fa927d41 100644
--- a/dtache-compile.el
+++ b/dtache-compile.el
@@ -29,7 +29,13 @@
;;;; Variables
-(defvar dtache-post-compile-session-action '(:attach dtache-compile-attach
:view dtache-post-compile-session :run dtache-compile))
+(defcustom dtache-compile-session-action
+ '(:attach dtache-compile-attach
+ :view dtache-post-compile-session
+ :run dtache-compile)
+ "Actions for a session created with `dtache-compile'."
+ :group 'dtache
+ :type 'plist)
;;;; Commands
@@ -45,7 +51,7 @@ Optionally enable COMINT if prefix-argument is provided."
command))
(consp current-prefix-arg)))
(let* ((dtache-enabled t)
- (dtache-session-action dtache-post-compile-session-action)
+ (dtache-session-action dtache-compile-session-action)
(dtache-session-origin 'compile)
(dtache-session-mode 'create))
(compile command comint)))
@@ -56,7 +62,7 @@ Optionally enable COMINT if prefix-argument is provided."
Optionally EDIT-COMMAND."
(interactive "P")
(let* ((dtache-enabled t)
- (dtache-session-action dtache-post-compile-session-action)
+ (dtache-session-action dtache-compile-session-action)
(dtache-session-origin 'compile)
(dtache-session-mode 'create))
(recompile edit-command)))
diff --git a/dtache-eshell.el b/dtache-eshell.el
index 20d7c7294e..86ecca7bc1 100644
--- a/dtache-eshell.el
+++ b/dtache-eshell.el
@@ -32,7 +32,13 @@
;;;; Variables
-(defvar dtache-eshell-session-action '(:attach dtache-shell-command-attach
:view dtache-view-dwim :run dtache-shell-command))
+(defcustom dtache-eshell-session-action
+ '(:attach dtache-shell-command-attach
+ :view dtache-view-dwim
+ :run dtache-shell-command)
+ "Actions for a session created with `dtache-eshell'."
+ :group 'dtache
+ :type 'plist)
;;;; Functions
diff --git a/dtache-shell.el b/dtache-shell.el
index e8278602ad..a353a72b41 100644
--- a/dtache-shell.el
+++ b/dtache-shell.el
@@ -29,10 +29,18 @@
;;;; Variables
-(defvar dtache-shell-history-file nil
- "File to store history.")
-(defvar dtache-shell-session-action '(:attach dtache-shell-command-attach
:view dtache-view-dwim :run dtache-shell-command)
- "Actions for a session created with `dtache-shell'.")
+(defcustom dtache-shell-session-action
+ '(:attach dtache-shell-command-attach
+ :view dtache-view-dwim
+ :run dtache-shell-command)
+ "Actions for a session created with `dtache-shell'."
+ :group 'dtache
+ :type 'plist)
+
+(defcustom dtache-shell-history-file nil
+ "File to store history."
+ :type 'string
+ :group 'dtache)
;;;; Functions
- [elpa] externals/dtache c40f0b2203 102/158: Make some public functions private, (continued)
- [elpa] externals/dtache c40f0b2203 102/158: Make some public functions private, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 9c16dd3751 109/158: Update active to state, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 3cc493e6b0 115/158: Add missing dtache-log-mode to detach-dwim, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache ebf9b491bd 117/158: Add variable for dtache-shell-command buffer, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache e9f6794621 129/158: Rename log-directory to directory, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 3969524f23 125/158: Improve dtache session header, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache e0a45c055c 133/158: Address error in eshell/shell extension, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 34c7d23346 088/158: Make dtache-eshell compatible with recent changes, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 2354197acb 096/158: Fix error in dtache-compile, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 5da693be75 100/158: Update CHANGELOG, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 0c8241a33d 107/158: Update actions from defvar to defcustom,
ELPA Syncer <=
- [elpa] externals/dtache 848f3a943a 108/158: Update attach naming, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 52c82428ac 110/158: Remove documentation directory, ELPA Syncer, 2022/01/19
- [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