emacs-devel
[Top][All Lists]
Advanced

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

Re: declare-function for C files


From: Stefan Monnier
Subject: Re: declare-function for C files
Date: Thu, 22 Nov 2007 13:19:15 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

>> What is the purpose of specifying a C file in `declare-function'?
>> Is it for platform-specific primitives?

> Yes. For example, `make-symbolic-link' throws warnings on Windows, as
> do several x-* functions.

BTW, `make-symbol-link' should be defined on Windows as well.  It may
signal an error, but it should be defined so that e.g. Tramp can make it
work on remote hosts.


        Stefan




reply via email to

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