; Review and fix NEWS and related documentation

* etc/NEWS: Fix wording, punctuation, and markup.

* lisp/emacs-lisp/subr-x.el (string-glyph-split): Doc fix.

* doc/lispref/display.texi (Displaying Messages): Document
'set-message-functions'.
This commit is contained in:
Eli Zaretskii 2022-12-25 14:54:33 +02:00
parent 72786ae237
commit dad73e4de1
3 changed files with 338 additions and 240 deletions

View file

@ -333,7 +333,10 @@ as the new values of the bound variables in the recursive invocation."
;;;###autoload
(defun string-glyph-split (string)
"Split STRING into a list of strings representing separate glyphs.
This takes into account combining characters and grapheme clusters."
This takes into account combining characters and grapheme clusters:
if compositions are enbaled, each sequence of characters composed
on display into a single grapheme cluster is treated as a single
indivisible unit."
(let ((result nil)
(start 0)
comp)