emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Malformed cond form in x-dnd.el


From: David PONCE
Subject: Malformed cond form in x-dnd.el
Date: Thu, 5 Feb 2004 10:17:19 +0100 (CET)

Hi,

While compiling x-dnd.el, the byte-compiler complains that:

In x-dnd-get-local-file-name:
x-dnd.el:284:49:Warning: malformed cond form: `nil'

The patch below fixes that.

Sincerely,
David

Index: x-dnd.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/x-dnd.el,v
retrieving revision 1.4
diff -c -r1.4 x-dnd.el
*** x-dnd.el    3 Feb 2004 21:46:35 -0000       1.4
--- x-dnd.el    5 Feb 2004 09:05:14 -0000
***************
*** 290,296 ****
                  (substring uri (1- (match-end 0))))
                 ((string-match "^file:" uri)           ; Old KDE, Motif, Sun
                  (substring uri (match-end 0)))
!                nil)))
      (when (and f must-exist)
        (let* ((decoded-f (decode-coding-string 
                         f
--- 290,296 ----
                  (substring uri (1- (match-end 0))))
                 ((string-match "^file:" uri)           ; Old KDE, Motif, Sun
                  (substring uri (match-end 0)))
!                )))
      (when (and f must-exist)
        (let* ((decoded-f (decode-coding-string 
                         f





reply via email to

[Prev in Thread] Current Thread [Next in Thread]