emacs-diffs
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111225: Explain, why `tramp-*-fi


From: Stefan Monnier
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111225: Explain, why `tramp-*-file-name-p' is a defsubst.
Date: Fri, 14 Dec 2012 08:45:25 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> +;; It must be a `defsubst' in order to push the whole code into
> +;; tramp-loaddefs.el.  Otherwise, there would be recursive autoloading.

A standard way to handle it is:

   ;;;###autoload
   (progn
    (defun ...))

Of course, if the function should be a defsubst anyway, then defsubst
is better.


        Stefan



reply via email to

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