~willvaughn/emacs-0x0

09cdeda5ed91a03f26b2aedab3b75812edd1ee8d — William Vaughn 1 year, 6 months ago 63cd5ec
fix checkdoc suggestions
1 files changed, 2 insertions(+), 2 deletions(-)

M 0x0.el
M 0x0.el => 0x0.el +2 -2
@@ 123,7 123,7 @@ curl binary."
  (plist-get server :curl-args-fun))

(defun 0x0--pick-file (server)
  "Prompt to pick a file path or use dired file at point.
  "Prompt to pick a file path or use Dired file at point.

This function creates a prompt for interactive functions below.
The SERVER is used to look up the default directory to use for where to find


@@ 337,7 337,7 @@ The SIZE influences the estimate of file timeout."
        ((derived-mode-p 'dired-mode)
         (0x0-upload-file server (dired-file-name-at-point)))
        ((ffap-guess-file-name-at-point) (if-let* ((file (ffap-guess-file-name-at-point)))
                                             (when (yes-or-no-p (format "Is publicly sharing this file what you intended? %s" file))
                                             (when (yes-or-no-p (format "Is publicly sharing this file, %s, what you intended?" file))
                                               (0x0-upload-file server file))))
        ((0x0-upload-text server))))