summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-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)))))