]> git.eshelyaron.com Git - emacs.git/commit
Add customizable to display raw bytes as hex
authorVasilij Schneidermann <mail@vasilij.de>
Thu, 1 Jun 2017 18:25:58 +0000 (21:25 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 1 Jun 2017 18:25:58 +0000 (21:25 +0300)
commitcb9aa3515ac00826fd27ade7dfc829134ed38acc
tree1363798d47fc5a7433519129fb726651a4c12a2e
parente5de79992a22f2932abb5f1f2600f576a60ae6ef
Add customizable to display raw bytes as hex

* src/xdisp.c (get_next_display_element): Dispatch used format string
for unprintables based on new display-raw-bytes-as-hex variable.
(display-raw-bytes-as-hex): New variable.  (Bug#27122)

* lisp/cus-start.el: Add defcustom form for display-raw-bytes-as-hex.

* doc/emacs/display.texi: Document the new variable.
* etc/NEWS: Mention display-raw-bytes-as-hex.

* test/manual/redisplay-testsuite.el (test-redisplay-5-toggle)
(test-redisplay-5): New tests.
(test-redisplay): Call test-redisplay-5.
doc/emacs/display.texi
etc/NEWS
lisp/cus-start.el
src/xdisp.c
test/manual/redisplay-testsuite.el