Variable: nobreak-char-display

nobreak-char-display is a variable defined in xdisp.c.

Value

t

Documentation

Control highlighting of non-ASCII space and hyphen chars.

If the value is t, Emacs highlights non-ASCII chars which have the same appearance as an ASCII space or hyphen, using the nobreak-space or nobreak-hyphen face respectively.

All of the non-ASCII characters in the Unicode horizontal whitespace character class, as well as U+00AD (soft hyphen), U+2010 (hyphen), and U+2011 (non-breaking hyphen) are affected.

Any other non-nil value means to display these characters as an escape glyph followed by an ordinary space or hyphen.

A value of nil means no special handling of these characters.

Probably introduced at or before Emacs version 22.1.

Source Code

// Defined in /usr/src/emacs/src/xdisp.c
  DEFVAR_LISP ("nobreak-char-display", Vnobreak_char_display,
    doc: /* Control highlighting of non-ASCII space and hyphen chars.
If the value is t, Emacs highlights non-ASCII chars which have the
same appearance as an ASCII space or hyphen, using the `nobreak-space'
or `nobreak-hyphen' face respectively.

All of the non-ASCII characters in the Unicode horizontal whitespace
character class, as well as U+00AD (soft hyphen), U+2010 (hyphen), and
U+2011 (non-breaking hyphen) are affected.

Any other non-nil value means to display these characters as an escape
glyph followed by an ordinary space or hyphen.

A value of nil means no special handling of these characters.  */);