New command make-frame-on-current-monitor to use in windmove (bug#39875)
authorJuri Linkov <juri@linkov.net>
Fri, 6 Mar 2020 00:19:00 +0000 (02:19 +0200)
committerJuri Linkov <juri@linkov.net>
Fri, 6 Mar 2020 00:19:00 +0000 (02:19 +0200)
commit32261ed15bc4fb7b9d2cf955286aa21562d2fc8e
tree88507117a0ae1b52ff3a270018ba067174b93e49
parentb5474ba1607fdca620cdee40a11cc0120697fc58
New command make-frame-on-current-monitor to use in windmove (bug#39875)

* lisp/frame.el (make-frame-on-current-monitor): New command.

* lisp/windmove.el (windmove-display-in-direction):
Use make-frame-on-current-monitor for 'new-frame'.
(windmove-display-new-frame): New command.
(windmove-display-default-keybindings): Bind
windmove-display-new-frame to 'f' key.

* lisp/window.el (display-buffer-in-direction): Fix quotes in docstring.
lisp/frame.el
lisp/windmove.el
lisp/window.el