aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorVasilij Schneidermann2017-06-01 21:25:58 +0300
committerEli Zaretskii2017-06-01 21:25:58 +0300
commitcb9aa3515ac00826fd27ade7dfc829134ed38acc (patch)
tree1363798d47fc5a7433519129fb726651a4c12a2e /lisp
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 'lisp')
-rw-r--r--lisp/cus-start.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index 4253d40b759..744fe7f69ee 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -583,6 +583,7 @@ since it could result in memory overflow and make Emacs crash."
583 (const :tag "Fit (t)" :value t) 583 (const :tag "Fit (t)" :value t)
584 (const :tag "Grow only" :value grow-only)) 584 (const :tag "Grow only" :value grow-only))
585 "25.1") 585 "25.1")
586 (display-raw-bytes-as-hex display boolean "26.1")
586 ;; xfaces.c 587 ;; xfaces.c
587 (scalable-fonts-allowed display boolean "22.1") 588 (scalable-fonts-allowed display boolean "22.1")
588 ;; xfns.c 589 ;; xfns.c