summaryrefslogtreecommitdiff
path: root/lisp/cus-start.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-06-01 21:12:39 +0300
committerEli Zaretskii <eliz@gnu.org>2017-06-01 21:12:39 +0300
commit7c9ac111c5e5d92e620b666893993d5dc562e483 (patch)
tree1363798d47fc5a7433519129fb726651a4c12a2e /lisp/cus-start.el
parente922e3c7a5c895f3875e7eb4670618891a4fd312 (diff)
downloademacs-7c9ac111c5e5d92e620b666893993d5dc562e483.tar.gz
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/cus-start.el')
-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."
(const :tag "Fit (t)" :value t)
(const :tag "Grow only" :value grow-only))
"25.1")
+ (display-raw-bytes-as-hex display boolean "26.1")
;; xfaces.c
(scalable-fonts-allowed display boolean "22.1")
;; xfns.c