[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/tramp-nspawn 1c8f42c7bf 08/22: Add feature unload funct
From: |
ELPA Syncer |
Subject: |
[elpa] externals/tramp-nspawn 1c8f42c7bf 08/22: Add feature unload function. |
Date: |
Sat, 19 Feb 2022 18:58:01 -0500 (EST) |
branch: externals/tramp-nspawn
commit 1c8f42c7bfc44b7afa83ed3b73b190a9ec0ced10
Author: Brian Cully <bjc@kublai.com>
Commit: Brian Cully <bjc@kublai.com>
Add feature unload function.
---
nspawn-tramp.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/nspawn-tramp.el b/nspawn-tramp.el
index 199255e4be..54e6999ebd 100644
--- a/nspawn-tramp.el
+++ b/nspawn-tramp.el
@@ -104,10 +104,15 @@ see its function help for a description of the format."
"Remove TRAMP method handler for nspawn conainers."
(setf (alist-get nspawn-tramp-method tramp-methods nil t 'string=) nil))
+(defun nspawn-tramp-unload-function ()
+ "Remove TRAMP method handler and completion functions."
+ (tramp-set-completion-function nspawn-tramp-method nil)
+ (nspawn-tramp--remove-method)
+ nil)
+
;;;###autoload
(defun nspawn-tramp-setup ()
"Initialize systemd-nspawn support for TRAMP."
- (nspawn-tramp--remove-method)
(nspawn-tramp--add-method)
(tramp-set-completion-function nspawn-tramp-method
'((nspawn-tramp--completion-function ""))))
- [elpa] branch externals/tramp-nspawn created (now 8c5fbc479e), ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 7c618e4e9c 02/22: Add README.org., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 96152bc939 04/22: Get rid of "not part of GNU emacs", ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn dbfb4f3af9 01/22: Initial commit., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn c98260130b 03/22: Add ‘Maintainer’ pseudo-keyword to header., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 1608f01157 06/22: Rename ‘nspawn-tramp--init’ to ‘nspawn-tramp-setup’ and autoload it., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 0756a8d41f 11/22: Assign copyright to the FSF, since I’ve completed my paperwork., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn f7c7ef3851 12/22: Add ‘Maintainer’ header for ELPA compatibility., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 1c8f42c7bf 08/22: Add feature unload function.,
ELPA Syncer <=
- [elpa] externals/tramp-nspawn 3b31544b21 19/22: Rename package to ‘tramp-nspawn’., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 48102d38e7 05/22: Clean up autoloads., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 49f23d8ec9 07/22: Use filename in comment header., ELPA Syncer, 2022/02/19
- [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