From 08336b9a55fcbd89623427724b764ce0c87e3838 Mon Sep 17 00:00:00 2001 From: Pip Cet Date: Sat, 30 May 2026 12:11:14 +0000 Subject: [PATCH] Always return a list from send-to--collect-items * lisp/send-to.el (send-to--collect-items): Return singleton list, not a string directly. --- lisp/send-to.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/send-to.el b/lisp/send-to.el index 2e9ea334c85..95e95fd5433 100644 --- a/lisp/send-to.el +++ b/lisp/send-to.el @@ -222,7 +222,7 @@ From any other buffer, either of these two, in order of preference: (region-beginning) (region-end)))) ((thing-at-point 'existing-filename) - (thing-at-point 'existing-filename)) + (list (thing-at-point 'existing-filename))) ((buffer-file-name) (list (buffer-file-name)))))