diff options
| author | Juri Linkov | 2014-12-28 02:48:05 +0200 |
|---|---|---|
| committer | Juri Linkov | 2014-12-28 02:48:05 +0200 |
| commit | d143df5a4ecff352470f09019364310ec8e2202b (patch) | |
| tree | 4b60eeac502d9a904bd8d5d1c0ca8ea52c97f53d /etc | |
| parent | 2cb7592275bce47e44916134223b994a75e4b861 (diff) | |
| download | emacs-d143df5a4ecff352470f09019364310ec8e2202b.tar.gz emacs-d143df5a4ecff352470f09019364310ec8e2202b.zip | |
Use diff faces for compare-windows
* lisp/vc/compare-w.el: Require diff-mode for diff faces.
(compare-windows-removed, compare-windows-added): New faces
inheriting from diff faces.
(compare-windows): Define obsolete face alias.
(compare-windows-highlight): Replace face `compare-windows' with
new faces `compare-windows-added' and `compare-windows-removed'.
(compare-windows-get-recent-window): Signal an error when
no other window is found.
Fixes: debbugs:19451
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -401,10 +401,13 @@ and comments. | |||
| 401 | the color range from `vc-annotate-color-map' is applied to the | 401 | the color range from `vc-annotate-color-map' is applied to the |
| 402 | background or to the foreground. | 402 | background or to the foreground. |
| 403 | 403 | ||
| 404 | *** compare-windows now compares text with the most recently used window | 404 | *** `compare-windows' now compares text with the most recently used window |
| 405 | instead of the next window. The new option `compare-windows-get-window-function' | 405 | instead of the next window. The new option `compare-windows-get-window-function' |
| 406 | allows to customize this. | 406 | allows to customize this. |
| 407 | 407 | ||
| 408 | *** Two new faces `compare-windows-removed' and `compare-windows-added' | ||
| 409 | replace the obsolete face `compare-windows'. | ||
| 410 | |||
| 408 | ** Calculator: decimal display mode uses "," groups, so it's more | 411 | ** Calculator: decimal display mode uses "," groups, so it's more |
| 409 | fitting for use in money calculations; factorial works with | 412 | fitting for use in money calculations; factorial works with |
| 410 | non-integer inputs. | 413 | non-integer inputs. |