GNU bug report logs - #57835
(featurep 'haiku) vs (eq system-type 'haiku)

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Thu, 15 Sep 2022 16:25:02 UTC

Severity: wishlist

Tags: notabug

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 57835 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 57835 <at> debbugs.gnu.org
Subject: Re: bug#57835: (featurep 'haiku) vs (eq system-type 'haiku)
Date: Fri, 16 Sep 2022 09:28:18 +0800
Stefan Kangas <stefankangas <at> gmail.com> writes:

> Severity: wishlist
>
> Should the below be changed to use (eq system-type 'haiku) instead?
> It seems like that's the pattern we use for the other systems we
> support.
>
> ./term/haiku-win.el:28:(unless (featurep 'haiku)
> ./loadup.el:306:(if (featurep 'haiku)
> ./cus-start.el:866:                       (featurep 'haiku))
> ./version.el:81:                       ((featurep 'haiku)
> ./select.el:527:              ((featurep 'haiku) (add-hook
> 'haiku-lost-selection-functions
> ./select.el:535:          ((featurep 'haiku) (remove-hook
> 'haiku-lost-selection-functions
> ./net/browse-url.el:1044:    ((featurep 'haiku)
> ./image/wallpaper.el:246:        ((featurep 'haiku)

The `haiku' named feature checks for Haiku window system support, while
`system-type' only checks if Emacs (which could be built without window
system support) is running on Haiku.  So this isn't a bug.




This bug report was last modified 2 years and 297 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.