|
From: | Glenn Morris |
Subject: | Re: Compiler warnings on Windows - gnus/*.el |
Date: | Sun, 09 Mar 2008 15:29:53 -0400 |
User-agent: | Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Reiner Steib wrote: > Emacs on Windows doesn't seem to define `make-symbolic-link'. Would > it make sense to signal an error like this... > > (unless (fboundp 'make-symbolic-link) > (defun make-symbolic-link (filename linkname &optional ok-if-already-exists) > (error "`make-symbolic-link' not supported on this platform."))) > > ... instead of just `void-function ...'? Maybe not worth the effort. I think rather that code calling make-symbolic-link should check it is bound, and do the right thing if not. Always giving it a definition would remove that possibility. Ie, the gnus stuff should fall back to copy (or whatever) if make-symbolic-link is not bound.
[Prev in Thread] | Current Thread | [Next in Thread] |