emacs-devel
[Top][All Lists]
Advanced

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

Re: Tramp and fixnum


From: Michael Albinus
Subject: Re: Tramp and fixnum
Date: Wed, 29 Aug 2018 10:09:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Paul Eggert <address@hidden> writes:

Hi Paul,

> +    ;; Convert inode.  Big numbers have been added to Emacs 27.
> +    (unless (or (fboundp 'bignump) (listp (nth 10 attr)))
>
> How about changing to the following instead?
>
>      (let ((inode (nth 10 attr)))
>         (unless (or (integerp inode) (listp inode))
>            ...
>
> That is, if the inode number is already an integer, leave it
> alone. This should work regardless of whether bignums are supported.

Indeed, that's better. Finally, it just needs

    (when (floatp (nth 10 attr))

Pushed to the repositories.

Best regards, Michael.



reply via email to

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