[Top][All Lists]

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

Re: bug#4004: filename completion

From: Chong Yidong
Subject: Re: bug#4004: filename completion
Date: Mon, 17 Aug 2009 12:42:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Michael Albinus <address@hidden> writes:

>>> Would it be OK to add the check
>>>   (and (boundp 'completion-styles)
>>>        (member 'partial-completion (symbol-value 'completion-styles)))
>> You mean
>>    (and (boundp 'completion-styles)
>>         (member 'partial-completion completion-styles))
>> ?
> Yes, I mean that. My version avoids compiler warnings for unknown
> symbol completion-styles, when Tramp runs outside GNU Emacs 23.

The byte-compiler is smart enough to recognize this situation and avoid
warning about it.

reply via email to

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