From e6f58d37142afbcec94b0f4b5e3589a718f17a84 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 21 Feb 2018 05:10:31 -0500 Subject: [PATCH] tools/upload: fix +upload/browse & add docstrings --- modules/tools/upload/autoload.el | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/modules/tools/upload/autoload.el b/modules/tools/upload/autoload.el index fb18193ad..a129c5d4e 100644 --- a/modules/tools/upload/autoload.el +++ b/modules/tools/upload/autoload.el @@ -1,34 +1,33 @@ ;;; tools/upload/autoload.el -*- lexical-binding: t; -*- ;;;###autoload -(defun +upload/local (&optional force-p) - "TODO" - (interactive) +(defun +upload/put-file (&optional force-p) + "Upload the current buffer's file to the configured remote." + (interactive "P") (if force-p (ssh-deploy-upload-handler-forced) (ssh-deploy-upload-handler))) ;;;###autoload -(defun +upload/remote-download () - "TODO" +(defun +upload/get-file () + "Download the current buffer's file from the configured remote." (interactive) (ssh-deploy-download-handler)) ;;;###autoload -(defun +upload/diff () - "TODO" +(defun +upload/diff-file () + "Open a diff of the local file against the remote." (interactive) (ssh-deploy-diff-handler)) ;;;###autoload (defun +upload/browse () - "TODO" + "Browse the remote directory mapped to this file's directory." (interactive) - (ssh-deploy-browse-remove-handler)) + (ssh-deploy-browse-remote-handler)) ;;;###autoload (defun +upload/check-remote () - "TODO" + "Check if local file exists or if the remote file has changed." (interactive) (ssh-deploy-remote-changes-handler)) -