summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/simple.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index e3ac7094088..9b4aa235e47 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1561,7 +1561,9 @@ If nil, don't change the value of `debug-on-error'."
This affects printing by `eval-expression' (via
`eval-expression-print-format')."
:group 'lisp
- :type 'integer
+ :type `(choice (const :tag "ASCII characters" 127)
+ (const :tag "All characters" ,(max-char))
+ (integer :tag "Max codepoint to display as character"))
:version "26.1")
(defun eval-expression-print-format (value)