branch: elpa/aidermacs commit 277a00e323800dc74b373c73ec0e274733a6a818 Author: Mingde (Matthew) Zeng <matthew...@posteo.net> Commit: Mingde (Matthew) Zeng <matthew...@posteo.net>
Fix drop-file clean-file Signed-off-by: Mingde (Matthew) Zeng <matthew...@posteo.net> --- aidermacs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aidermacs.el b/aidermacs.el index 16e3aa27d6..0f4c5943fe 100644 --- a/aidermacs.el +++ b/aidermacs.el @@ -519,7 +519,7 @@ Sends the \"/ls\" command and displays the results in a Dired buffer." (lambda (files) (if-let* ((file (completing-read "Select file to drop: " files nil t)) (clean-file (replace-regexp-in-string " (read-only)$" "" file))) - (let ((command (aidermacs--prepare-file-paths-for-command "/drop" (list (concat "./" clean-file))))) + (let ((command (aidermacs--prepare-file-paths-for-command "/drop" (list clean-file)))) (aidermacs--send-command command)) (message "No files available to drop")))))