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

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

[elpa] externals/ssh-deploy 29cf0b2 061/173: Added force handler in docu


From: Stefan Monnier
Subject: [elpa] externals/ssh-deploy 29cf0b2 061/173: Added force handler in documentation
Date: Sat, 20 Oct 2018 10:36:31 -0400 (EDT)

branch: externals/ssh-deploy
commit 29cf0b29b47fdc52af49f68e3bd0bfa939dd4e32
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>

    Added force handler in documentation
---
 README.md     | 1 +
 ssh-deploy.el | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 2b20086..0f1fba9 100644
--- a/README.md
+++ b/README.md
@@ -48,6 +48,7 @@ Set your user and group as owner and file permissions to 
`700`. Emacs should now
   :config
   (add-hook 'after-save-hook (lambda() (if ssh-deploy-on-explicit-save 
(ssh-deploy-upload-handler)) ))
   (add-hook 'find-file-hook (lambda() (if 
ssh-deploy-automatically-detect-remote-changes 
(ssh-deploy-remote-changes-handler)) ))
+  (global-set-key (kbd "C-c C-z f") (lambda() 
(interactive)(ssh-deploy-upload-handler-forced) ))
   (global-set-key (kbd "C-c C-z u") (lambda() 
(interactive)(ssh-deploy-upload-handler) ))
   (global-set-key (kbd "C-c C-z d") (lambda() 
(interactive)(ssh-deploy-download-handler) ))
   (global-set-key (kbd "C-c C-z x") (lambda() 
(interactive)(ssh-deploy-diff-handler) ))
diff --git a/ssh-deploy.el b/ssh-deploy.el
index c9012d1..52babd0 100644
--- a/ssh-deploy.el
+++ b/ssh-deploy.el
@@ -41,7 +41,7 @@
 ;; Example contents of `~/.netrc':
 ;; machine myserver.com login myuser port ftp password mypassword
 ;;
-;; Set permissions to this file to 700 with you as the owner.
+;; Set permissions to this file to `700' with you as the owner.
 ;;
 ;; - To setup a upload hook on save do this:
 ;;     (add-hook 'after-save-hook (lambda() (if ssh-deploy-on-explicit-save 
(ssh-deploy-upload-handler)) ))
@@ -50,6 +50,7 @@
 ;;     (add-hook 'find-file-hook (lambda() (if 
ssh-deploy-automatically-detect-remote-changes 
(ssh-deploy-remote-changes-handler)) ))
 ;;
 ;; - To set key-bindings do something like this:
+;;     (global-set-key (kbd "C-c C-z f") (lambda() 
(interactive)(ssh-deploy-upload-handler-forced) ))
 ;;     (global-set-key (kbd "C-c C-z u") (lambda() 
(interactive)(ssh-deploy-upload-handler) ))
 ;;     (global-set-key (kbd "C-c C-z d") (lambda() 
(interactive)(ssh-deploy-download-handler) ))
 ;;     (global-set-key (kbd "C-c C-z x") (lambda() 
(interactive)(ssh-deploy-diff-handler) ))



reply via email to

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