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

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

[elpa] externals/tramp-nspawn 1608f01157 06/22: Rename ‘nspawn-tramp--i


From: ELPA Syncer
Subject: [elpa] externals/tramp-nspawn 1608f01157 06/22: Rename ‘nspawn-tramp--init’ to ‘nspawn-tramp-setup’ and autoload it.
Date: Sat, 19 Feb 2022 18:57:59 -0500 (EST)

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

    Rename ‘nspawn-tramp--init’ to ‘nspawn-tramp-setup’ and autoload it.
    
    This might as well be a public function.
---
 nspawn-tramp.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/nspawn-tramp.el b/nspawn-tramp.el
index 5254415766..a748ab6cff 100644
--- a/nspawn-tramp.el
+++ b/nspawn-tramp.el
@@ -104,7 +104,8 @@ 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--init ()
+;;;###autoload
+(defun nspawn-tramp-setup ()
   "Initialize systemd-nspawn support for TRAMP."
   (nspawn-tramp--remove-method)
   (nspawn-tramp--add-method)
@@ -113,7 +114,7 @@ see its function help for a description of the format."
 
 ;;;###autoload
 (eval-after-load 'tramp
-  (nspawn-tramp--init))
+  (nspawn-tramp-setup))
 
 (provide 'nspawn-tramp)
 ;;; nspawn-tramp.el ends here



reply via email to

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