From cb58c4f9aaac0c5eba7e265f5b533ee23edeb6fa Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Wed, 24 Feb 2021 13:38:44 -0500 Subject: tyop --- nspawn-tramp.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nspawn-tramp.el b/nspawn-tramp.el index 54e6999..01d295e 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 -- cgit v1.2.3