summaryrefslogtreecommitdiff
path: root/compat.texi
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2025-11-04 15:28:27 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2025-11-04 15:28:27 +0100
commitdc32703ba1dd0e0c9b135e2e3f463cde5a8c2f70 (patch)
tree539bfba2163023ce58d14ca6b411fdad05091617 /compat.texi
parent867ba4cd8825aac7b1bbee5d17146893db0051ce (diff)
parentad6a2b82f7bc2ea698b9684501963dfa71ffdc27 (diff)
Merge branch 'main' into emacs-31
Diffstat (limited to 'compat.texi')
-rw-r--r--compat.texi15
1 files changed, 15 insertions, 0 deletions
diff --git a/compat.texi b/compat.texi
index a01b250..d72f42f 100644
--- a/compat.texi
+++ b/compat.texi
@@ -2415,6 +2415,21 @@ you can say:
@xref{Size of Displayed Text,,,elisp}.
@end defun
+@c copied from lisp/international/ucs-normalize.el
+@defun string-glyph-compose string
+Compose @var{string} according to the Unicode NFC. This returns a new
+string obtained by canonical decomposition of @var{string} followed by
+canonical composition, a.k.a. the "Unicode Normalization Form C" of
+@var{string}.
+@end defun
+
+@c copied from lisp/international/ucs-normalize.el
+@defun string-glyph-decompose string
+Decompose @var{string} according to the Unicode NFD. This returns a
+new string that is the canonical decomposition of @var{string},
+a.k.a. the "Unicode Normalization Form D" of @var{string}.
+@end defun
+
@c based on lisp/emacs-lisp/subr-x.el
@defmac with-buffer-unmodified-if-unchanged &rest body@dots{}
Evaluate @var{body} like @code{progn}, but change buffer-modified