diff options
author | Robert Pluim <rpluim@gmail.com> | 2022-02-01 12:01:14 +0100 |
---|---|---|
committer | Robert Pluim <rpluim@gmail.com> | 2022-02-08 17:09:15 +0100 |
commit | 1ea2993e83ad43bb9e93eb95fe858d2d90011a9e (patch) | |
tree | 5758deae40e019f5d0a07696d070240444429741 /lisp/frame.el | |
parent | 57df45749259e2b6fd5f629107a868f0df9725cb (diff) | |
download | emacs-1ea2993e83ad43bb9e93eb95fe858d2d90011a9e.tar.gz emacs-1ea2993e83ad43bb9e93eb95fe858d2d90011a9e.tar.bz2 emacs-1ea2993e83ad43bb9e93eb95fe858d2d90011a9e.zip |
Improve make-frame-on-display initial values
* doc/emacs/frames.texi (Multiple Displays): Add index entry for
'display server'.
* lisp/frame.el (make-frame-on-display): Specify sensible initial
values when reading display name.
* lisp/menu-bar.el (menu-bar-file-menu): Use 'display server' rather
than 'display' to avoid monitor<->display confusion.
Diffstat (limited to 'lisp/frame.el')
-rw-r--r-- | lisp/frame.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/frame.el b/lisp/frame.el index e9c88adc7cc..b681a971aa3 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -702,7 +702,9 @@ Return nil if we don't know how to interpret DISPLAY." The optional argument PARAMETERS specifies additional frame parameters." (interactive (if (fboundp 'x-display-list) (list (completing-read "Make frame on display: " - (x-display-list))) + (x-display-list) nil + nil (car (x-display-list)) + nil (car (x-display-list)))) (user-error "This Emacs build does not support X displays"))) (make-frame (cons (cons 'display display) parameters))) |