aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-04-28 18:09:10 +0200
committerLars Ingebrigtsen2016-04-28 18:09:10 +0200
commitc3ac2cbf73516d2414c845087cac8fc7ec1ce5d7 (patch)
tree6767ba0ab44954d0b8363bf6024993d48d758232 /etc
parent214f85a0a68b96a552ca605d601b33f6eef5c4ca (diff)
downloademacs-c3ac2cbf73516d2414c845087cac8fc7ec1ce5d7.tar.gz
emacs-c3ac2cbf73516d2414c845087cac8fc7ec1ce5d7.zip
Add a new face for non-breaking hyphen characters
* doc/emacs/display.texi (Standard Faces): Mention nobreak-hyphen. (Text Display): Ditto. * lisp/faces.el (nobreak-hyphen): New face (bug#12048). * src/xdisp.c (get_next_display_element): Use it instead of the escape-glyph face. * src/xdisp.c (syms_of_xdisp): New symbil Qnobreak_hyphen.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index da68ed597db..c7bc34fe0e3 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -56,6 +56,9 @@ affected by this, as SGI stopped supporting IRIX in December 2013.
56 56
57* Changes in Emacs 25.2 57* Changes in Emacs 25.2
58 58
59** Non-breaking hypens are now displayed with the `nobreak-hyphen'
60face instead of the `escape-glyph' face.
61
59--- 62---
60** `C-x h' (`mark-whole-buffer') will now avoid marking the prompt 63** `C-x h' (`mark-whole-buffer') will now avoid marking the prompt
61part of minibuffers. 64part of minibuffers.