diff options
author | Juri Linkov <juri@linkov.net> | 2019-11-17 00:10:19 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2019-11-17 00:10:19 +0200 |
commit | e4a62f8662b01ad1700565149ba7acbb67a2681a (patch) | |
tree | 2c7192bda2b44be33fc12e2f71218f83ae140758 /lisp | |
parent | 5ddec1365c1594b2a5e13383ed6acefb5098947d (diff) | |
download | emacs-e4a62f8662b01ad1700565149ba7acbb67a2681a.tar.gz |
* lisp/simple.el (eval-expression-print-maximum-character): Use choice type.
https://lists.gnu.org/archive/html/emacs-devel/2019-11/msg00433.html
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/simple.el | 4 |
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) |