parent
53fcce8187
commit
4ea5bbcc9c
1 changed files with 2 additions and 1 deletions
|
@ -28,6 +28,7 @@
|
||||||
(ssh-deploy-root-remote . stringp)
|
(ssh-deploy-root-remote . stringp)
|
||||||
(ssh-deploy-script . functionp)
|
(ssh-deploy-script . functionp)
|
||||||
(ssh-deploy-on-explicit-save . booleanp)
|
(ssh-deploy-on-explicit-save . booleanp)
|
||||||
|
(ssh-deploy-force-on-explicit-save . booleanp)
|
||||||
(ssh-deploy-async . booleanp)
|
(ssh-deploy-async . booleanp)
|
||||||
(ssh-deploy-exclude-list . listp)))
|
(ssh-deploy-exclude-list . listp)))
|
||||||
(put (car sym) 'safe-local-variable (cdr sym)))
|
(put (car sym) 'safe-local-variable (cdr sym)))
|
||||||
|
@ -37,7 +38,7 @@
|
||||||
(defun +upload-init-after-save-h ()
|
(defun +upload-init-after-save-h ()
|
||||||
(when (and (bound-and-true-p ssh-deploy-root-remote)
|
(when (and (bound-and-true-p ssh-deploy-root-remote)
|
||||||
ssh-deploy-on-explicit-save)
|
ssh-deploy-on-explicit-save)
|
||||||
(ssh-deploy-upload-handler))))
|
(ssh-deploy-upload-handler ssh-deploy-force-on-explicit-save))))
|
||||||
|
|
||||||
;; Enable ssh-deploy if variables are set, and check for changes on open file
|
;; Enable ssh-deploy if variables are set, and check for changes on open file
|
||||||
;; (if possible)
|
;; (if possible)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue