unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: chad <yandros@gmail.com>
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org, syohex@gmail.com
Subject: Re: [nongnu] elpa/coffee-mode 1f602d2ab2 2/4: Fix test for newer emacs
Date: Sat, 09 Sep 2023 18:28:35 +0300	[thread overview]
Message-ID: <83o7ibtlgc.fsf@gnu.org> (raw)
In-Reply-To: <CAO2hHWa8_AaTd7Y=Ks+Hcb57=JS=Zddb9G6Pwk_Uk04KhY_20g@mail.gmail.com> (message from chad on Sat, 9 Sep 2023 11:10:49 -0400)

> 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	other threads:[~2023-09-09 15:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <169417080798.2243.17560010992251560045@vcs2.savannah.gnu.org>
     [not found] ` <20230908110008.A4377C051D0@vcs2.savannah.gnu.org>
2023-09-08 15:26   ` [nongnu] elpa/coffee-mode 1f602d2ab2 2/4: Fix test for newer emacs Stefan Monnier
2023-09-09 15:10     ` chad
2023-09-09 15:28       ` Eli Zaretskii [this message]
2023-09-10  0:07       ` [External] : " Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83o7ibtlgc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=syohex@gmail.com \
    --cc=yandros@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).