tools/upload: correct variable name

Fixes #5077

Co-authored-by: KARASZI István <github@spam.raszi.hu>
This commit is contained in:
Henrik Lissner 2021-05-21 11:07:44 -04:00
parent 2a2969f3e0
commit d0dacce085
2 changed files with 3 additions and 3 deletions

View file

@ -46,7 +46,7 @@ Example:
#+BEGIN_SRC emacs-lisp
((nil . ((ssh-deploy-root-local . "/local/path/to/project")
(ssh-deploy-root-remote . "/ssh:user@server:/remote/project/")
(ssh-deploy-on-explicity-save . t))))
(ssh-deploy-on-explicit-save . t))))
#+END_SRC
Note: ~ssh-deploy-root-local~ is optional, and will resort to

View file

@ -7,7 +7,7 @@
;; Example:
;; ((nil . ((ssh-deploy-root-local . "/local/path/to/project")
;; (ssh-deploy-root-remote . "/ssh:user@server:/remote/project/")
;; (ssh-deploy-on-explicity-save . t))))
;; (ssh-deploy-on-explicit-save . t))))
;;
;; Note: `ssh-deploy-root-local' is optional, and will resort to
;; `doom-project-root' if unspecified.
@ -27,7 +27,7 @@
(dolist (sym '((ssh-deploy-root-local . stringp)
(ssh-deploy-root-remote . stringp)
(ssh-deploy-script . functionp)
(ssh-deploy-on-explicitly-save . booleanp)
(ssh-deploy-on-explicit-save . booleanp)
(ssh-deploy-async . booleanp)
(ssh-deploy-exclude-list . listp)))
(put (car sym) 'safe-local-variable (cdr sym)))