aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorVasilij Schneidermann2017-06-01 21:25:58 +0300
committerEli Zaretskii2017-06-01 21:25:58 +0300
commitcb9aa3515ac00826fd27ade7dfc829134ed38acc (patch)
tree1363798d47fc5a7433519129fb726651a4c12a2e /etc
parente5de79992a22f2932abb5f1f2600f576a60ae6ef (diff)
downloademacs-cb9aa3515ac00826fd27ade7dfc829134ed38acc.tar.gz
emacs-cb9aa3515ac00826fd27ade7dfc829134ed38acc.zip
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 43e7897120f..055de8ca9e8 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -364,6 +364,10 @@ large integers from being displayed as characters.
364** Two new commands for finding the source code of Emacs Lisp 364** Two new commands for finding the source code of Emacs Lisp
365libraries: 'find-library-other-window' and 'find-library-other-frame'. 365libraries: 'find-library-other-window' and 'find-library-other-frame'.
366 366
367+++
368** The new variable 'display-raw-bytes-as-hex' allows to change the
369display of raw bytes from octal to hex.
370
367 371
368* Editing Changes in Emacs 26.1 372* Editing Changes in Emacs 26.1
369 373