bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#29713: 26.0; Provide completion for `make-frame-on-display'


From: Juri Linkov
Subject: bug#29713: 26.0; Provide completion for `make-frame-on-display'
Date: Thu, 18 Mar 2021 19:04:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> Maybe it could use `x-display-list'.  But I don't know how portable it is.
>> Is `x-display-list' available on OSX and Windows?
>
> It's not available on --without-x builds:
>
> 0. ./src/emacs -Q
> 1. M-x toggle-debug-on-error RET
> 2. M-x make-frame-on-display RET
>    Debugger entered--Lisp error: (void-function x-display-list)
>
> What's TRT here?

Maybe fall back to previous implementation replaced by x-display-list
in 0746a9e275d, i.e.

  (if (fboundp 'x-display-list)
      (x-display-list)
    (delete-dups
     (mapcar (lambda (frame)
               (frame-parameter frame 'display))
             (frame-list))))

Does this fail on --without-x builds?





reply via email to

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