From 0746a9e275d6318be80dde39d7be72a447200612 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Tue, 16 Jul 2019 01:09:20 +0300 Subject: [PATCH] * lisp/frame.el (make-frame-on-display): Use x-display-list in completion. (Bug#29713) --- lisp/frame.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lisp/frame.el b/lisp/frame.el index 9402c15a56b..fd7e872fb6d 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -666,10 +666,7 @@ Return nil if we don't know how to interpret DISPLAY." The optional argument PARAMETERS specifies additional frame parameters." (interactive (list (completing-read (format "Make frame on display: ") - (delete-dups - (mapcar (lambda (frame) - (frame-parameter frame 'display)) - (frame-list)))))) + (x-display-list)))) (make-frame (cons (cons 'display display) parameters))) (defun make-frame-on-monitor (monitor &optional display parameters) -- 2.39.2