emacs-devel
[Top][All Lists]
Advanced

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

Re: Invoke Ange-FTP from within Tramp


From: Kim F. Storm
Subject: Re: Invoke Ange-FTP from within Tramp
Date: 22 Jun 2002 23:58:03 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

address@hidden (Kai Großjohann) writes:

> How to implement this feature?
> 
> 
> * Put the invocation of Ange-FTP directly in the functions.  This
>   means that all of the functions will get an additional conditional
>   around it and the meat of the function is in the else part.

Couldn't this be done with a suitable defmacro ?

        (deftramp find-file (arg...)
           code)

expands to

        (defun tramp-find-file (arg...)
          (if (activate-ange-ftp ...)
             (ange-ftp-find-file arg...)
            code))


-- 
Kim F. Storm <address@hidden> http://www.cua.dk




reply via email to

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