emacs-devel
[Top][All Lists]
Advanced

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

Re: master 4808c63d43f: Add Tramp method "apptainer"


From: Po Lu
Subject: Re: master 4808c63d43f: Add Tramp method "apptainer"
Date: Wed, 08 May 2024 07:49:44 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Michael Albinus <michael.albinus@gmx.de> writes:

> Michael Albinus <michael.albinus@gmx.de> writes:
>
> Hi,
>
>>> With this change, Tramp ceases to be autoloaded on Android, and
>>> when
>>> manually required, signals an error as follows:
>>
>> Oops. Does this help?
>>
>> diff --git a/lisp/tramp-androidsu.el b/lisp/tramp-androidsu.el
>> index 3dcee8e2..09dcd4d7 100644
>> --- a/lisp/tramp-androidsu.el
>> +++ b/lisp/tramp-androidsu.el
>> @@ -94,8 +94,9 @@ may edit files belonging to any and all applications."
>>                 `(,tramp-androidsu-method nil ,tramp-root-id-string)))
>>
>>  ;;;###tramp-autoload
>> -(when (eq system-type 'android)
>> -  (tramp-enable-androidsu-method))
>> +(tramp--with-startup
>> + (when (eq system-type 'android)
>> +   (tramp-enable-androidsu-method)))
>>
>>  (defvar android-use-exec-loader) ; androidfns.c.
>
> I could reproduce the problem locally. The proposed fix cures it, so I
> have pushed it to master.
>
> Best regards, Michael.

Thanks.


reply via email to

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