emacs-devel
[Top][All Lists]
Advanced

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

Re: Merging the pgtk branch


From: Stefan Monnier
Subject: Re: Merging the pgtk branch
Date: Tue, 03 Aug 2021 09:37:06 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>>> >> +           (condition-case nil
>>> >> +               (server--create-frame
>>> >> +                nowait proc
>>> >> +                `((display . ,display)
>>> >> +                  ,@(if parent-id
>>> >> +                        `((parent-id . ,(string-to-number parent-id))))
>>> >> +                  ,@parameters))
>>> >> +             (error
>>> >> +              (server-log "Window system unsupported" proc)
>>> >> +              (server-send-string proc "-window-system-unsupported \n")
>>> >> +              nil)))
[...]
> The error is:
> ----
> -error Cannot&_connect&_to&_display&_server&_wayland&-1
> ----
> (In case of WAYLAND_DISPLAY=wayland-1.)

Can we then change the `condition-case` so it doesn't catch all `error`s
but only the "Cannot connect to display server" one?


        Stefan




reply via email to

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