emacs-devel
[Top][All Lists]
Advanced

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

Re: [nongnu] elpa/coffee-mode 1f602d2ab2 2/4: Fix test for newer emacs


From: Eli Zaretskii
Subject: Re: [nongnu] elpa/coffee-mode 1f602d2ab2 2/4: Fix test for newer emacs
Date: Sat, 09 Sep 2023 18:28:35 +0300

> From: chad <yandros@gmail.com>
> Date: Sat, 9 Sep 2023 11:10:49 -0400
> Cc: emacs-devel@gnu.org, Shohei YOSHIDA <syohex@gmail.com>
> 
> On Fri, Sep 8, 2023 at 1:23 PM Stefan Monnier <monnier@iro.umontreal.ca> 
> wrote:
> 
>  [...]
>      (should (face-at-cursor-p
>               (if (< emacs-major-version 28) [...]
> 
> Is there a reason to prefer < on emacs-major-version versus version< (et al) 
> or vice versa? Maybe
> which versions support the latter?

If the test for emacs-major-version works (i.e., the minor version is
not important), then it's faster.



reply via email to

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