changeset 53823:cc4faf95fea2

* x-dnd.el (x-dnd-get-local-file-name): Fix byte compiler warning
author Jan Djärv <jan.h.d@swipnet.se>
date Thu, 05 Feb 2004 11:46:57 +0000
parents add088b6ecef
children 744aeda2efac
files lisp/ChangeLog lisp/x-dnd.el
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Feb 05 04:55:21 2004 +0000
+++ b/lisp/ChangeLog	Thu Feb 05 11:46:57 2004 +0000
@@ -1,3 +1,7 @@
+2004-02-05  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
+
+	* x-dnd.el (x-dnd-get-local-file-name): Fix byte compiler warning
+
 2004-02-04  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* progmodes/cperl-mode.el (cperl-fill-paragraph): Call fill-paragraph
--- a/lisp/x-dnd.el	Thu Feb 05 04:55:21 2004 +0000
+++ b/lisp/x-dnd.el	Thu Feb 05 11:46:57 2004 +0000
@@ -289,8 +289,7 @@
   (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