summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPip Cet <pipcet@protonmail.com>2026-05-30 12:11:14 +0000
committerPip Cet <pipcet@protonmail.com>2026-06-03 18:15:22 +0000
commit08336b9a55fcbd89623427724b764ce0c87e3838 (patch)
tree85647f15151cec37493958426f905f4688421275
parent44fa1595ce8eb6a124982da57057ef6ebd9310e0 (diff)
Always return a list from send-to--collect-items
* lisp/send-to.el (send-to--collect-items): Return singleton list, not a string directly.
-rw-r--r--lisp/send-to.el2
1 files changed, 1 insertions, 1 deletions
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)))))