auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] Fix for tex-jp.el


From: Arash Esbati
Subject: Re: [AUCTeX-devel] Fix for tex-jp.el
Date: Mon, 06 Feb 2017 16:45:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2

Ikumi Keita <address@hidden> writes:

>> I vaguely remember that tests against (X)Emacs should be done via
>> `featurep' and not against a function or variable; hence I would write
>> something like this:
>
>>     (let ((lcs (if (featurep 'xemacs)
>>                    (get-coding-system-from-locale (current-locale))
>>                  locale-coding-system))))
>
> Unfortunately, not all xemacs versions have the relevant functions.  It
> seems that xemacs 21.5 has while 21.4 does not.  Maybe it depends on the
> presence of mule feature.  (I don't know the detail.)
> So the fboundp test is necessary anyway although adding `(featurep
> 'xemacs)' is no problem, of course.

Hi Ikumi,

I can't tell either, I don't have XEmacs on my machine.  But again, I
trust that you're right.

Best, Arash



reply via email to

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