diff options
| author | Juri Linkov | 2020-03-06 02:19:00 +0200 |
|---|---|---|
| committer | Juri Linkov | 2020-03-06 02:19:00 +0200 |
| commit | 32261ed15bc4fb7b9d2cf955286aa21562d2fc8e (patch) | |
| tree | 88507117a0ae1b52ff3a270018ba067174b93e49 /lisp/window.el | |
| parent | b5474ba1607fdca620cdee40a11cc0120697fc58 (diff) | |
| download | emacs-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.el | 10 |
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 | |||
| 7891 | such alists. | 7891 | such alists. |
| 7892 | 7892 | ||
| 7893 | ALIST has to contain a `direction' entry whose value should be | 7893 | ALIST has to contain a `direction' entry whose value should be |
| 7894 | one of `left', `above' (or `up'), `right' and `below' (or | 7894 | one of `left', `above' (or `up'), `right' and `below' (or `down'). |
| 7895 | 'down'). Other values are usually interpreted as `below'. | 7895 | Other values are usually interpreted as `below'. |
| 7896 | 7896 | ||
| 7897 | If ALIST also contains a `window' entry, its value specifies a | 7897 | If ALIST also contains a `window' entry, its value specifies a |
| 7898 | reference window. That value can be a special symbol like | 7898 | reference 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 |
| 7901 | arbitrary valid window. Any other value (or omitting the | 7901 | arbitrary 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 |
| 7903 | window. | 7903 | window. |
| 7904 | 7904 | ||
| 7905 | This function tries to reuse or split a window such that the | 7905 | This function tries to reuse or split a window such that the |