aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/window.el
diff options
context:
space:
mode:
authorJuri Linkov2020-03-06 02:19:00 +0200
committerJuri Linkov2020-03-06 02:19:00 +0200
commit32261ed15bc4fb7b9d2cf955286aa21562d2fc8e (patch)
tree88507117a0ae1b52ff3a270018ba067174b93e49 /lisp/window.el
parentb5474ba1607fdca620cdee40a11cc0120697fc58 (diff)
downloademacs-32261ed15bc4fb7b9d2cf955286aa21562d2fc8e.tar.gz
emacs-32261ed15bc4fb7b9d2cf955286aa21562d2fc8e.zip
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.
Diffstat (limited to 'lisp/window.el')
-rw-r--r--lisp/window.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/window.el b/lisp/window.el
index b1a0294ae91..bbd4e9b6dfc 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -7891,15 +7891,15 @@ Info node `(elisp) Buffer Display Action Alists' for details of
7891such alists. 7891such alists.
7892 7892
7893ALIST has to contain a `direction' entry whose value should be 7893ALIST has to contain a `direction' entry whose value should be
7894one of `left', `above' (or `up'), `right' and `below' (or 7894one of `left', `above' (or `up'), `right' and `below' (or `down').
7895'down'). Other values are usually interpreted as `below'. 7895Other values are usually interpreted as `below'.
7896 7896
7897If ALIST also contains a `window' entry, its value specifies a 7897If ALIST also contains a `window' entry, its value specifies a
7898reference window. That value can be a special symbol like 7898reference window. That value can be a special symbol like
7899'main' (which stands for the selected frame's main window) or 7899`main' (which stands for the selected frame's main window) or
7900'root' (standings for the selected frame's root window) or an 7900`root' (standings for the selected frame's root window) or an
7901arbitrary valid window. Any other value (or omitting the 7901arbitrary valid window. Any other value (or omitting the
7902'window' entry) means to use the selected window as reference 7902`window' entry) means to use the selected window as reference
7903window. 7903window.
7904 7904
7905This function tries to reuse or split a window such that the 7905This function tries to reuse or split a window such that the