emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/tramp-nspawn cb58c4f9aa 10/22: tyop


From: ELPA Syncer
Subject: [elpa] externals/tramp-nspawn cb58c4f9aa 10/22: tyop
Date: Sat, 19 Feb 2022 18:58:03 -0500 (EST)

branch: externals/tramp-nspawn
commit cb58c4f9aaac0c5eba7e265f5b533ee23edeb6fa
Author: Brian Cully <bjc@kublai.com>
Commit: Brian Cully <bjc@kublai.com>

    tyop
---
 nspawn-tramp.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/nspawn-tramp.el b/nspawn-tramp.el
index 54e6999ebd..01d295eb57 100644
--- a/nspawn-tramp.el
+++ b/nspawn-tramp.el
@@ -32,6 +32,10 @@
 ;;
 ;; ## Usage
 ;;
+;; Call ‘nspawn-tramp-setup’ in your Emacs initialization.
+;;
+;;     (add-hook 'after-init-hook 'nspawn-tramp-setup)
+;;
 ;; Open a file on a running systemd-nspawn container:
 ;;
 ;;     C-x C-f /nspawn:user@container:/path/to/file
@@ -101,7 +105,7 @@ see its function help for a description of the format."
         tramp-methods))
 
 (defun nspawn-tramp--remove-method ()
-  "Remove TRAMP method handler for nspawn conainers."
+  "Remove TRAMP method handler for nspawn containers."
   (setf (alist-get nspawn-tramp-method tramp-methods nil t 'string=) nil))
 
 (defun nspawn-tramp-unload-function ()
@@ -117,9 +121,5 @@ see its function help for a description of the format."
   (tramp-set-completion-function nspawn-tramp-method
                                  '((nspawn-tramp--completion-function ""))))
 
-;;;###autoload
-(eval-after-load 'tramp
-  (nspawn-tramp-setup))
-
 (provide 'nspawn-tramp)
 ;;; nspawn-tramp.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]