unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David PONCE <david.ponce@wanadoo.fr>
Subject: Malformed cond form in x-dnd.el
Date: Thu,  5 Feb 2004 10:17:19 +0100 (CET)	[thread overview]
Message-ID: <29742638.1075972639897.JavaMail.www@wwinf0401> (raw)

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	other threads:[~2004-02-05  9:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-05  9:17 David PONCE [this message]
2004-02-05 11:48 ` Malformed cond form in x-dnd.el Jan D.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29742638.1075972639897.JavaMail.www@wwinf0401 \
    --to=david.ponce@wanadoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).