[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ssh-deploy 1073a7c 078/133: Replace more (require) with
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ssh-deploy 1073a7c 078/133: Replace more (require) with (autoload) |
Date: |
Sat, 27 Mar 2021 14:48:47 -0400 (EDT) |
branch: externals/ssh-deploy
commit 1073a7cc5943d7c7b182eb9a81319326f4b53a47
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Replace more (require) with (autoload)
---
ssh-deploy-test.el | 2 --
ssh-deploy.el | 4 ++--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/ssh-deploy-test.el b/ssh-deploy-test.el
index eb77c86..382f87b 100644
--- a/ssh-deploy-test.el
+++ b/ssh-deploy-test.el
@@ -177,8 +177,6 @@
(defun ssh-deploy-test--upload (async async-with-threads)
"Test uploads asynchronously if ASYNC is above zero, with threads if
ASYNC-WITH-THREADS is above zero"
- (require 'ediff-util)
-
(let ((directory-a (expand-file-name "test-a/"))
(directory-b (expand-file-name "test-b/")))
diff --git a/ssh-deploy.el b/ssh-deploy.el
index 984dc35..c0df025 100644
--- a/ssh-deploy.el
+++ b/ssh-deploy.el
@@ -321,6 +321,8 @@
(defvar ange-ftp-netrc-filename ftp-netrc))
(autoload 'ediff-same-file-contents "ediff-util")
(autoload 'string-remove-prefix "subr-x")
+ (autoload 'ssh-deploy--diff-directories-data "ssh-deploy")
+ (autoload 'ssh-deploy--diff-directories-present "ssh-deploy")
(funcall start)))
finish)))
(display-warning 'ssh-deploy "async-start functions are not
available!"))))
@@ -703,7 +705,6 @@
(ssh-deploy--async-process
(lambda()
(add-to-list 'load-path script-filename)
- (require 'ssh-deploy)
(ssh-deploy--diff-directories-data directory-a directory-b
exclude-list))
(lambda(diff)
(message "Completed calculation of differences between directory
'%s' and '%s'. Result: %s only in A %s only in B %s differs. (asynchronously)"
(nth 0 diff) (nth 1 diff) (length (nth 4 diff)) (length (nth 5 diff)) (length
(nth 7 diff)))
@@ -1274,7 +1275,6 @@
`(lambda() (let ((ssh-deploy-root-local ,ssh-deploy-root-local)
(ssh-deploy-root-remote ,ssh-deploy-root-remote))
(add-to-list 'load-path ,script-filename)
- (require 'ssh-deploy)
(funcall ,ssh-deploy-script)))
(lambda(result) (message "Completed execution of
deployment-script. Return: '%s' (asynchronously)" result))
ssh-deploy-async-with-threads))
- [elpa] externals/ssh-deploy 4ff27e9 049/133: Minor modifications after suggestions from flycheck-package, (continued)
- [elpa] externals/ssh-deploy 4ff27e9 049/133: Minor modifications after suggestions from flycheck-package, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 5871711 052/133: Renamed TRAMP to Tramp and added link to lisp code style, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy e834379 053/133: Updated version, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 2388c00 056/133: Added -p suffix to predicate functions, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy bc93b81 057/133: Updated version, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 4c5b82a 062/133: Added hydra application as shortcut, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 0e98d8e 046/133: Removed unnecessary group, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy c7407ef 069/133: Using (kill-buffer) instead of reverting default-directory in unit tests, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy d9f61e1 071/133: Resolved byte-compilation with optional hydra feature, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy f2cdb1a 077/133: Started on asynchronous tests, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 1073a7c 078/133: Replace more (require) with (autoload),
Stefan Monnier <=
- [elpa] externals/ssh-deploy d992624 087/133: More work on asynchronous unit test of detecting remote changes, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 3223f69 094/133: Updated Travis file, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 9b5d3d2 111/133: Fixed bug wih conditonal logic for async file diff, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy bebeaa1 100/133: Updated version to 3.1, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy c4fd187 039/133: Deletion working from diff-mode, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 88300e3 043/133: Improved wording of remote change detection, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy e08b8bb 044/133: Improved documentation, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy b480db9 055/133: Changed (when (not)) to (unless), Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 31cb94d 060/133: Added compile command to makefile and added a .gitignore file, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy d03bd70 068/133: Added unit-test for uploads, Stefan Monnier, 2021/03/27