[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master 40892b4: ; Tramp: Suppress compiler warnings.
From: |
Michael Albinus |
Subject: |
Re: [Emacs-diffs] master 40892b4: ; Tramp: Suppress compiler warnings. |
Date: |
Sun, 04 Oct 2015 13:02:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> - (funcall 'locate-dominating-file (locate-library "tramp") ".git")))
>> + (funcall
>> + (intern "locate-dominating-file") (locate-library "tramp") ".git")))
>
> I object to such ridiculous uglification in the name of avoiding warnings.
> The old code was bad, but the new one reaches new heights of absurdity.
>
>> - (tramp-compat-replace-regexp-in-string
>> + (funcall
>> + (intern "tramp-compat-replace-regexp-in-string")
>
> And here, how come you get a warning? Can't you make sure the compiler
> know that the function is always defined?
I've fixed this and some other glitches in another way.
> Stefan
Best regards, Michael.