]> git.eshelyaron.com Git - emacs.git/commit
Display some character widget values in a more user-friendly way
authorMauro Aranda <maurooaranda@gmail.com>
Sat, 26 Sep 2020 15:09:22 +0000 (17:09 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 26 Sep 2020 15:09:22 +0000 (17:09 +0200)
commit6cc0ff19ddeadeb47d475da1c38490497488355b
tree92ce3b883e060d3dfa6cff51b444f11c3cee189a
parent9b6f5642274b5b9ca0ad1b2e0e673d92b01fab6e
Display some character widget values in a more user-friendly way

* lisp/wid-edit.el (widget-character--escape-sequences-alist): New
variable.
(widget-character--change-character-display): New function.  Use the new
variable.
(widget-character-notify): New function, to keep track of the changes
in the character widget, and display characters like tab,
newline and spaces better.
(character widget): Use widget-character-notify as the notify
function.  Use widget-character--change-character-display for the
internal representation of value (bug#15925).
lisp/wid-edit.el