diff options
| author | Po Lu | 2022-07-25 10:08:37 +0800 |
|---|---|---|
| committer | Po Lu | 2022-07-25 10:08:41 +0800 |
| commit | 1a85545f2dcd5526f20d42a50995ebc328f969cd (patch) | |
| tree | e9ff9cb98f9c002d094e40e9958656dd9a1b7ba9 /test | |
| parent | 3c23ae13f044083c928df14ff441f841fcdc3b4f (diff) | |
| download | emacs-1a85545f2dcd5526f20d42a50995ebc328f969cd.tar.gz 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')
| -rw-r--r-- | test/lisp/x-dnd-tests.el | 4 |
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." | |||
| 124 | (format "file://%s%s" (system-name) | 124 | (format "file://%s%s" (system-name) |
| 125 | (expand-file-name x-dnd-tests-xds-property-value | 125 | (expand-file-name x-dnd-tests-xds-property-value |
| 126 | x-dnd-tests-xds-target-dir)) | 126 | x-dnd-tests-xds-target-dir)) |
| 127 | (concat "file:///" (expand-file-name x-dnd-tests-xds-property-value | 127 | (concat "file://" (expand-file-name x-dnd-tests-xds-property-value |
| 128 | x-dnd-tests-xds-target-dir))))) | 128 | x-dnd-tests-xds-target-dir))))) |
| 129 | (setq x-dnd-tests-xds-property-value | 129 | (setq x-dnd-tests-xds-property-value |
| 130 | (encode-coding-string (url-encode-url uri) | 130 | (encode-coding-string (url-encode-url uri) |
| 131 | 'raw-text))) | 131 | 'raw-text))) |