aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov2014-12-28 02:48:05 +0200
committerJuri Linkov2014-12-28 02:48:05 +0200
commitd143df5a4ecff352470f09019364310ec8e2202b (patch)
tree4b60eeac502d9a904bd8d5d1c0ca8ea52c97f53d /etc
parent2cb7592275bce47e44916134223b994a75e4b861 (diff)
downloademacs-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/NEWS5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 14933aa8b0c..4d632783812 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -401,10 +401,13 @@ and comments.
401the color range from `vc-annotate-color-map' is applied to the 401the color range from `vc-annotate-color-map' is applied to the
402background or to the foreground. 402background 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
405instead of the next window. The new option `compare-windows-get-window-function' 405instead of the next window. The new option `compare-windows-get-window-function'
406allows to customize this. 406allows to customize this.
407 407
408*** Two new faces `compare-windows-removed' and `compare-windows-added'
409replace 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
409fitting for use in money calculations; factorial works with 412fitting for use in money calculations; factorial works with
410non-integer inputs. 413non-integer inputs.