Document new `window-divider-mode'.

* lisp/frame.el (window-divider-mode): Fix doc-string.
* doc/emacs/frames.texi (Window Dividers): New section.
This commit is contained in:
Martin Rudalics 2015-07-02 11:19:25 +02:00
parent 0245cc3740
commit 29f8228b5b
3 changed files with 35 additions and 2 deletions

View file

@ -54,6 +54,7 @@ for doing so on MS-DOS). Menus are supported on all text terminals.
* Multiple Displays:: How one Emacs instance can talk to several displays.
* Frame Parameters:: Changing the colors and other modes of frames.
* Scroll Bars:: How to enable and disable scroll bars; how to use them.
* Window Dividers:: Window separators that can be dragged with the mouse.
* Drag and Drop:: Using drag and drop to open files and insert text.
* Menu Bars:: Enabling and disabling the menu bar.
* Tool Bars:: Enabling and disabling the tool bar.
@ -1001,6 +1002,32 @@ or disable horizontal scroll bars (@pxref{Resources}). To control the
scroll bar height, change the @code{scroll-bar-height} frame parameter
(@pxref{Frame Parameters,,, elisp, The Emacs Lisp Reference Manual}).
@node Window Dividers
@section Window Dividers
@cindex Window Divider mode
@cindex mode, Window Divider
On graphical displays, you can use @dfn{window dividers} in order to
separate windows visually. Window dividers are bars that can be dragged
with the mouse, thus allowing to easily resize adjacent windows.
@vindex window-divider-mode
To control the display of window dividers, customize the variable
@code{window-divider-mode}. Its value should be either
@code{bottom-only} (to show dividers only on the bottom of windows),
@code{right-only} (to show dividers only on the right of windows),
@code{t} (to show them on the bottom and on the right) or @code{nil} (to
disable window dividers).
@vindex window-divider-default-bottom-width
@vindex window-divider-default-right-width
To adjust the width of window dividers displayed by this mode
customize the options @code{window-divider-default-bottom-width} and
@code{window-divider-default-right-width}.
For more details about window dividers see @ref{Window Dividers,,
Window Dividers, elisp, The Emacs Lisp Reference Manual}.
@node Drag and Drop
@section Drag and Drop
@cindex drag and drop

View file

@ -1089,6 +1089,11 @@ fullwidth frames, the behavior may depend on the toolkit used.
windows without "fixing" it. It's supported by `fit-window-to-buffer',
`temp-buffer-resize-mode' and `display-buffer'.
+++
** New minor mode `window-divider-mode' and options
`window-divider-default-bottom-width' and
`window-divider-default-right-width'.
+++
** New option `switch-to-buffer-in-dedicated-window' allows to customize
how `switch-to-buffer' proceeds interactively when the selected window

View file

@ -1784,8 +1784,9 @@ With a prefix argument ARG, enable Window Divider mode if ARG is
positive, and disable it otherwise. If called from Lisp, enable
the mode if ARG is omitted or nil.
The option `window-divider-default-width' allows to customize the
width of dividers displayed by this mode."
The options `window-divider-default-bottom-width' and
`window-divider-default-right-width' allow to customize the width
of dividers displayed by this mode."
:group 'window-divider
:global t
:variable (window-divider-mode