diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2014-11-16 17:38:15 +0100 |
---|---|---|
committer | Michal Nazarewicz <mina86@mina86.com> | 2014-11-18 00:46:50 +0100 |
commit | b8104090075eb28dd6680cc9f8b0a49674ca369a (patch) | |
tree | 6a4cb090a7ac881eb370edc8ac53938f3d291329 /lisp/emacs-lisp | |
parent | 07556b0299b33b52cf352581bfdd6554819eea30 (diff) | |
download | emacs-b8104090075eb28dd6680cc9f8b0a49674ca369a.tar.gz |
tildify.el: introduce a `tildify-space-string' variable
* textmodes/tildify.el (tildify-space-string): New variable for
specifying representation of a hard space -- a no-break space by
default. Being a buffer-local variable it is much easier to
handle than `tildify-string-alist' that has been used so far. It
also works better with derived modes.
(tildify-string-alist): Mark as obsolete.
* textmodes/tex-mode.el (tex-common-initialization): Set
`tildify-space-string' variable in all variants of TeX mode since
`tildify-string-alist' is now empty by default.
* nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'. If
encoding supports it use no-break space instead of character
entity; this changes previous default which used a numeric
reference.
* textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'. If
encoding does not support no-break space, use numeric reference;
this changes previous default which used named entity (“ ”)
in HTML mode.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions