[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/tramp-nspawn 6403f4f883 21/22: Rename tramp-nspawn-mach
From: |
ELPA Syncer |
Subject: |
[elpa] externals/tramp-nspawn 6403f4f883 21/22: Rename tramp-nspawn-machinectl-file-name to -program. |
Date: |
Sat, 19 Feb 2022 18:58:04 -0500 (EST) |
branch: externals/tramp-nspawn
commit 6403f4f883fadb147a8c42d9123763913a90a850
Author: Brian Cully <bjc@kublai.com>
Commit: Brian Cully <bjc@kublai.com>
Rename tramp-nspawn-machinectl-file-name to -program.
Seems to be more in line with what other packages are doing.
---
tramp-nspawn.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tramp-nspawn.el b/tramp-nspawn.el
index 0219643af5..286074a5e5 100644
--- a/tramp-nspawn.el
+++ b/tramp-nspawn.el
@@ -68,8 +68,8 @@
:link '(url-link :tag "Github" "https://github.com/bjc/tramp-nspawn")
:link '(emacs-commentary-link :tag "Commentary" "tramp-nspawn"))
-(defcustom tramp-nspawn-machinectl-file-name "machinectl"
- "File name of machinectl executable."
+(defcustom tramp-nspawn-machinectl-program "machinectl"
+ "Name of the machinectl program."
:type 'string
:group 'tramp-nspawn)
@@ -82,7 +82,7 @@
This function is used by ‘tramp-set-completion-function’, please
see its function help for a description of the format."
(let* ((raw-list (shell-command-to-string
- (concat tramp-nspawn-machinectl-file-name
+ (concat tramp-nspawn-machinectl-program
" list -q")))
(lines (cdr (split-string raw-list "\n")))
(first-words (mapcar (lambda (line) (car (split-string line)))
@@ -94,7 +94,7 @@ see its function help for a description of the format."
(defun tramp-nspawn--add-method ()
"Add Tramp method handler for nspawn containers."
(push `(,tramp-nspawn-method
- (tramp-login-program ,tramp-nspawn-machinectl-file-name)
+ (tramp-login-program ,tramp-nspawn-machinectl-program)
(tramp-login-args (("shell")
("-q")
("--uid" "%u")
- [elpa] externals/tramp-nspawn c90c85f1e9 14/22: Minor changes as suggested by Stefan Monnier., (continued)
- [elpa] externals/tramp-nspawn c90c85f1e9 14/22: Minor changes as suggested by Stefan Monnier., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn b8380ee8a7 16/22: Update version to 1.0 in preparation for ELPA release., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn ae6d0d218b 20/22: Clarify wording on package commentary., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn df4ba32b89 09/22: Add usage info for nspawn-tramp-setup., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn d0a137d560 13/22: Add Makefile for build testing outside of Emacs., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn ebaa155c83 15/22: Update README.org to point to add ELPA install instructions., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 8c5fbc479e 22/22: Merge pull request #1 from bjc/next, ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn cb58c4f9aa 10/22: tyop, ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 87a1d64426 17/22: Remove redundant ‘Maintainer’ tag., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn f10849740a 18/22: Rename “TRAMP” to “Tramp”, it’s proper spelling., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 6403f4f883 21/22: Rename tramp-nspawn-machinectl-file-name to -program.,
ELPA Syncer <=