diff options
| author | Martin Rudalics | 2015-07-03 15:15:51 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2015-07-03 15:15:51 +0200 |
| commit | e3c4cd0074344fe92e7df3e59d1bbdca969252a2 (patch) | |
| tree | 5d301c81252988c1f1721a75b532dcd097f9e8ba /doc | |
| parent | 2b848fadd51e805b2f46da64c5958ea7f009048a (diff) | |
| download | emacs-e3c4cd0074344fe92e7df3e59d1bbdca969252a2.tar.gz emacs-e3c4cd0074344fe92e7df3e59d1bbdca969252a2.zip | |
Fix some issues with `window-divider-mode'
* lisp/frame.el (window-divider-default-places): New option.
(window-divider-mode): Remove option.
(window-divider-mode): Make it a "regular" minor mode.
(window-divider-width-valid-p): Drop frame- prefix.
(window-divider-mode-apply): New argument ENABLE. Drop frame-
prefix. Handle `window-divider-default-places'.
(frame--window-divider-mode-set-and-apply): Remove.
(window-divider-default-bottom-width)
(window-divider-default-right-width): Drop :group entries.
* lisp/menu-bar.el (menu-bar-bottom-and-right-window-divider)
(menu-bar-right-window-divider, menu-bar-bottom-window-divider)
(menu-bar-no-window-divider): Set `window-divider-default-places'
and call `window-divider-mode'.
* doc/emacs/frames.texi (Window Dividers): Document
`window-divider-default-places'.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/frames.texi | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index 8d24fc5806a..4a193dd6870 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi | |||
| @@ -1011,13 +1011,16 @@ scroll bar height, change the @code{scroll-bar-height} frame parameter | |||
| 1011 | separate windows visually. Window dividers are bars that can be dragged | 1011 | separate windows visually. Window dividers are bars that can be dragged |
| 1012 | with the mouse, thus allowing to easily resize adjacent windows. | 1012 | with the mouse, thus allowing to easily resize adjacent windows. |
| 1013 | 1013 | ||
| 1014 | @vindex window-divider-mode | 1014 | @findex window-divider-mode |
| 1015 | To control the display of window dividers, customize the variable | 1015 | To toggle the display of window dividers, use the command @kbd{M-x |
| 1016 | @code{window-divider-mode}. Its value should be either | 1016 | window-divider-mode}. |
| 1017 | |||
| 1018 | @vindex window-divider-default-places | ||
| 1019 | To customize where dividers should appear, use the option | ||
| 1020 | @code{window-divider-default-places}. Its value should be either | ||
| 1017 | @code{bottom-only} (to show dividers only on the bottom of windows), | 1021 | @code{bottom-only} (to show dividers only on the bottom of windows), |
| 1018 | @code{right-only} (to show dividers only on the right of windows), | 1022 | @code{right-only} (to show dividers only on the right of windows), or |
| 1019 | @code{t} (to show them on the bottom and on the right) or @code{nil} (to | 1023 | @code{t} (to show them on the bottom and on the right). |
| 1020 | disable window dividers). | ||
| 1021 | 1024 | ||
| 1022 | @vindex window-divider-default-bottom-width | 1025 | @vindex window-divider-default-bottom-width |
| 1023 | @vindex window-divider-default-right-width | 1026 | @vindex window-divider-default-right-width |