summaryrefslogtreecommitdiff
path: root/lisp/x-dnd.el
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2004-02-05 11:46:57 +0000
committerJan Djärv <jan.h.d@swipnet.se>2004-02-05 11:46:57 +0000
commite47f9a010d68b6226884e9698bae5e281d78ce89 (patch)
tree1032c366980ff447554dad0c4f43f28e188576ae /lisp/x-dnd.el
parent0f3ca320b0f16dc445b6d7b3a819756195fe316e (diff)
downloademacs-e47f9a010d68b6226884e9698bae5e281d78ce89.tar.gz
* x-dnd.el (x-dnd-get-local-file-name): Fix byte compiler warning
Diffstat (limited to 'lisp/x-dnd.el')
-rw-r--r--lisp/x-dnd.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/x-dnd.el b/lisp/x-dnd.el
index 18fcb62d6bf..ad55e3cbd34 100644
--- a/lisp/x-dnd.el
+++ b/lisp/x-dnd.el
@@ -289,8 +289,7 @@ Return nil if URI is not a local file."
(let ((f (cond ((string-match "^file:///" uri) ; XDND format.
(substring uri (1- (match-end 0))))
((string-match "^file:" uri) ; Old KDE, Motif, Sun
- (substring uri (match-end 0)))
- nil)))
+ (substring uri (match-end 0))))))
(when (and f must-exist)
(let* ((decoded-f (decode-coding-string
f