summaryrefslogtreecommitdiff
path: root/test/lisp/x-dnd-tests.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-07-25 10:08:37 +0800
committerPo Lu <luangruo@yahoo.com>2022-07-25 10:08:41 +0800
commit1a85545f2dcd5526f20d42a50995ebc328f969cd (patch)
treee9ff9cb98f9c002d094e40e9958656dd9a1b7ba9 /test/lisp/x-dnd-tests.el
parent3c23ae13f044083c928df14ff441f841fcdc3b4f (diff)
downloademacs-1a85545f2dcd5526f20d42a50995ebc328f969cd.tar.gz
emacs-1a85545f2dcd5526f20d42a50995ebc328f969cd.tar.bz2
emacs-1a85545f2dcd5526f20d42a50995ebc328f969cd.zip
Fix typo in x-dnd-tests.el
* test/lisp/x-dnd-tests.el (x-begin-drag): Avoid extra leading / in file names. (bug#56712)
Diffstat (limited to 'test/lisp/x-dnd-tests.el')
-rw-r--r--test/lisp/x-dnd-tests.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/x-dnd-tests.el b/test/lisp/x-dnd-tests.el
index ef9c8aada28..55994e9b724 100644
--- a/test/lisp/x-dnd-tests.el
+++ b/test/lisp/x-dnd-tests.el
@@ -124,8 +124,8 @@ Return the result of the selection."
(format "file://%s%s" (system-name)
(expand-file-name x-dnd-tests-xds-property-value
x-dnd-tests-xds-target-dir))
- (concat "file:///" (expand-file-name x-dnd-tests-xds-property-value
- x-dnd-tests-xds-target-dir)))))
+ (concat "file://" (expand-file-name x-dnd-tests-xds-property-value
+ x-dnd-tests-xds-target-dir)))))
(setq x-dnd-tests-xds-property-value
(encode-coding-string (url-encode-url uri)
'raw-text)))