[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: |
Michael Albinus |
Subject: |
Re: problem: `tramp-list-tramp-buffers` missing emacs 24.1.50.1 ? |
Date: |
Thu, 05 Jul 2012 21:53:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
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.