help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: problem: `tramp-list-tramp-buffers` missing emacs 24.1.50.1 ?


From: Paul K
Subject: Re: problem: `tramp-list-tramp-buffers` missing emacs 24.1.50.1 ?
Date: Tue, 10 Jul 2012 09:37:01 +0200

I did the job.
thank You guys for the help

best regards,
Paul

On Thu, Jul 5, 2012 at 9:53 PM, Michael Albinus <michael.albinus@gmx.de> wrote:
> Tassilo Horn <tassilo@member.fsf.org> writes:
>
>> Paul K <mafeuser@gmail.com> writes:
>>
>> Hi Paul,
>>
>>> I was invoking this function in one one of my emacs 23 defuns.
>>>
>>> Now I get the following:
>>>
>>> Debugger entered--Lisp error: (void-function tramp-list-tramp-buffers)
>>>   (tramp-list-tramp-buffers)
>>>   eval((tramp-list-tramp-buffers) nil)
>>>   eval-last-sexp-1(nil)
>>>   eval-last-sexp(nil)
>>>   call-interactively(eval-last-sexp nil nil)
>>>
>>> The funny thing is that this method still exists in
>>> /usr/local/share/emacs/24.1.50/lisp/net/tramp-cmds.el.gz.
>>>
>>> is it a bug?
>>
>> I don't think so.  Probably, when you call that function tramp isn't
>> loaded already.  Place a (require 'tramp-cmds) before the call to
>> `tramp-list-tramp-buffers'.
>
> In Tramp 2.1 (integrated into Emacs 23), tramp-cmds.el is required in
> tramp.el. This has changed in Tramp 2.2, we use autoloads now.
>
> Tassilo's recommendation to apply (require 'tramp-cmds), after you have
> loaded tramp.el, shall work for both Emacs 23 and 24.
>
>> Bye,
>> Tassilo
>
> Best regards, Michael.
>



reply via email to

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