diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-09-03 13:45:53 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-09-03 13:45:53 +0300 |
commit | dcfe3314cd78e95d992fe00f757ce906d49586cd (patch) | |
tree | a3b1a37f04592b6db2dd696f3a5df3be6ccb2676 /lisp/emacs-lisp | |
parent | db2f8b8415b538ccb43f11a2142567ec6c5451d9 (diff) | |
download | emacs-dcfe3314cd78e95d992fe00f757ce906d49586cd.tar.gz emacs-dcfe3314cd78e95d992fe00f757ce906d49586cd.tar.bz2 emacs-dcfe3314cd78e95d992fe00f757ce906d49586cd.zip |
Teach 'max-char' about the Unicode code range
* src/character.c (Fmax_char): Accept an optional argument
UNICODE, and, if non-nil, return the maximum codepoint defined by
Unicode.
* lisp/emacs-lisp/comp.el (comp-known-type-specifiers): Update the
signature of 'max-char'.
* etc/NEWS:
* doc/lispref/nonascii.texi (Character Codes): Update the
documentation of 'max-char'.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/comp.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index e10443588e4..306ec918b1a 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -462,7 +462,7 @@ Useful to hook into pass checkers.") (marker-buffer (function (marker) (or buffer null))) (markerp (function (t) boolean)) (max (function ((or number marker) &rest (or number marker)) number)) - (max-char (function () fixnum)) + (max-char (function (&optional t) fixnum)) (member (function (t list) list)) (memory-limit (function () integer)) (memq (function (t list) list)) |