[Top][All Lists]

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

Re: Deleting unnecessary services from %desktop-services

From: Ricardo Wurmus
Subject: Re: Deleting unnecessary services from %desktop-services
Date: Sat, 01 Dec 2018 21:07:21 +0100
User-agent: mu4e 1.0; emacs 26.1

address@hidden writes:

>  (remove! (lambda (service)
>  (eq? (service-kind service)
>  avahi-service-type ntp-service-type ntpd networking))
>  %desktop-services
>  )

This doesn’t work as you are asking if (service-kind service) is the
same as “avahi-service-type” AND “ntp-service-type” AND “ntpd” AND
“networking”.  This will never be true.  Use “member” instead.

(Also, you should probably use “remove” instead of “remove!”.) 


reply via email to

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