diff options
| author | Martin Rudalics | 2015-07-02 09:03:45 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2015-07-02 09:03:45 +0200 |
| commit | 0245cc374015a67f5c17fec1342c8a35cbd41779 (patch) | |
| tree | 951ee475718a5c39b918fa280713052876f89da0 /lisp/faces.el | |
| parent | bb35a21c0e8a4b82ac04fa26a53f6ca394afbb24 (diff) | |
| download | emacs-0245cc374015a67f5c17fec1342c8a35cbd41779.tar.gz emacs-0245cc374015a67f5c17fec1342c8a35cbd41779.zip | |
Improve accessibility of window dividers. (Bug#20183)
* lisp/faces.el (window-divider)
(window-divider-first-pixel, window-divider-last-pixel): Change
membership from `frames' to `window-divider' customization group.
* lisp/frame.el (window-divider): New customization group.
(window-divider-mode): New minor mode.
(window-divider-default-bottom-width)
(window-divider-default-right-width): New options.
(frame--window-divider-previous-mode): New variable.
(frame-window-divider-width-valid-p)
(frame--window-divider-mode-apply)
(frame--window-divider-mode-set-and-apply): New functions.
* lisp/menu-bar.el (menu-bar-options-save): Save
window-divider-mode settings.
(menu-bar-window-divider-customize)
(menu-bar-bottom-and-right-window-divider)
(menu-bar-right-window-divider, menu-bar-bottom-window-divider)
(menu-bar-no-window-divider): New functions.
(menu-bar-showhide-window-divider-menu): New variable.
(menu-bar-showhide-menu): Show/hide window divider menu.
* lisp/mouse.el (mouse-split-window-vertically)
(mouse-split-window-horizontally): Replace `error' by
`user-error'. Bind `window-combination-resize' to nil.
(top-level): Add/reorder mouse key bindings on mode- and
vertical-line.
Diffstat (limited to 'lisp/faces.el')
| -rw-r--r-- | lisp/faces.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index 9857a7bd4de..511b3541265 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -2506,7 +2506,7 @@ is used for the inner part while the first pixel line/column is | |||
| 2506 | drawn with the `window-divider-first-pixel' face and the last | 2506 | drawn with the `window-divider-first-pixel' face and the last |
| 2507 | pixel line/column with the `window-divider-last-pixel' face." | 2507 | pixel line/column with the `window-divider-last-pixel' face." |
| 2508 | :version "24.4" | 2508 | :version "24.4" |
| 2509 | :group 'frames | 2509 | :group 'window-divider |
| 2510 | :group 'basic-faces) | 2510 | :group 'basic-faces) |
| 2511 | 2511 | ||
| 2512 | (defface window-divider-first-pixel | 2512 | (defface window-divider-first-pixel |
| @@ -2517,7 +2517,7 @@ line/column is drawn with the foreground of this face. If you do | |||
| 2517 | not want to accentuate the first pixel line/column, set this to | 2517 | not want to accentuate the first pixel line/column, set this to |
| 2518 | the same as `window-divider' face." | 2518 | the same as `window-divider' face." |
| 2519 | :version "24.4" | 2519 | :version "24.4" |
| 2520 | :group 'frames | 2520 | :group 'window-divider |
| 2521 | :group 'basic-faces) | 2521 | :group 'basic-faces) |
| 2522 | 2522 | ||
| 2523 | (defface window-divider-last-pixel | 2523 | (defface window-divider-last-pixel |
| @@ -2528,7 +2528,7 @@ line/column is drawn with the foreground of this face. If you do | |||
| 2528 | not want to accentuate the last pixel line/column, set this to | 2528 | not want to accentuate the last pixel line/column, set this to |
| 2529 | the same as `window-divider' face." | 2529 | the same as `window-divider' face." |
| 2530 | :version "24.4" | 2530 | :version "24.4" |
| 2531 | :group 'frames | 2531 | :group 'window-divider |
| 2532 | :group 'basic-faces) | 2532 | :group 'basic-faces) |
| 2533 | 2533 | ||
| 2534 | (defface minibuffer-prompt | 2534 | (defface minibuffer-prompt |