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

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

[elpa] externals/ssh-deploy a57ae0c 061/133: Updated use-package example


From: Stefan Monnier
Subject: [elpa] externals/ssh-deploy a57ae0c 061/133: Updated use-package example to work with byte-compiled code
Date: Sat, 27 Mar 2021 14:48:44 -0400 (EDT)

branch: externals/ssh-deploy
commit a57ae0c5906277e3a293ff1396325e26345bc475
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>

    Updated use-package example to work with byte-compiled code
---
 README.md     | 1 +
 ssh-deploy.el | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index d05136c..4e20779 100644
--- a/README.md
+++ b/README.md
@@ -187,6 +187,7 @@ If you want to use the pre-defined hydra you can use this 
key-binding instead:
       (use-package ssh-deploy
         :ensure t
         :demand
+        :after hydra
         :bind (("C-c C-z" . ssh-deploy-hydra/body))
         :hook ((after-save . ssh-deploy-after-save)
                (find-file . ssh-deploy-find-file))
diff --git a/ssh-deploy.el b/ssh-deploy.el
index 81dc6de..58ba98a 100644
--- a/ssh-deploy.el
+++ b/ssh-deploy.el
@@ -5,7 +5,7 @@
 ;; Author: Christian Johansson <christian@cvj.se>
 ;; Maintainer: Christian Johansson <christian@cvj.se>
 ;; Created: 5 Jul 2016
-;; Modified: 17 Dec 2018
+;; Modified: 8 Feb 2019
 ;; Version: 3.0.3
 ;; Keywords: tools, convenience
 ;; URL: https://github.com/cjohansson/emacs-ssh-deploy
@@ -74,6 +74,7 @@
 ;;   (use-package ssh-deploy
 ;;     :ensure t
 ;;     :demand
+;;     :after hydra
 ;;     :bind (("C-c C-z" . ssh-deploy-hydra/body))
 ;;     :hook ((after-save . ssh-deploy-after-save)
 ;;            (find-file . ssh-deploy-find-file))
@@ -1367,6 +1368,7 @@
 (defun ssh-deploy-after-save () "Logic for automatic uploads."
        (when (and (boundp 'ssh-deploy-on-explicit-save) 
ssh-deploy-on-explicit-save (> ssh-deploy-on-explicit-save 0)) 
(ssh-deploy-upload-handler)))
 
+;;;###autoload
 (defun ssh-deploy-add-after-save-hook () "Add the `after-save-hook'."
        (when (fboundp 'ssh-deploy-after-save)
          (add-hook 'after-save-hook 'ssh-deploy-after-save)))
@@ -1374,6 +1376,7 @@
 (defun ssh-deploy-find-file () "Logic for detecting remote change."
        (when (and (boundp 'ssh-deploy-automatically-detect-remote-changes) 
ssh-deploy-automatically-detect-remote-changes (> 
ssh-deploy-automatically-detect-remote-changes 0)) 
(ssh-deploy-remote-changes-handler)))
 
+;;;###autoload
 (defun ssh-deploy-add-find-file-hook () "Add the `find-file-hook'."
        (when (fboundp 'ssh-deploy-find-file) (add-hook 'find-file-hook 
'ssh-deploy-find-file)))
 



reply via email to

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