]> git.eshelyaron.com Git - emacs.git/commit
Add new function 'dom-inner-text'
authorJim Porter <jporterbugs@gmail.com>
Sun, 20 Jul 2025 20:48:22 +0000 (13:48 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sat, 26 Jul 2025 14:02:35 +0000 (16:02 +0200)
commit587e6d4715981e180995888b1794ba4bfdeb3613
treefe544831fcdd18422751a71a21cda4519e154519
parentf7f7322dc43243cd95cb8712ae0db5a2eec8001e
Add new function 'dom-inner-text'

This replaces 'dom-text' and 'dom-texts', and is both more correct and
more efficient than them.

* lisp/dom.el (dom-text, dom-texts): Make obsolete in favor of...
(dom-inner-text--1, dom-inner-text): ... these new functions.  Update
callers.

* doc/lispref/text.texi (Document Object Model): Update documentation to
refer to 'dom-inner-text'.

* etc/NEWS: Announce this change.

(cherry picked from commit 2e53c7d08ba0de2468ec25cf9a9d7079604f9409)
doc/lispref/text.texi
lisp/dom.el
lisp/gnus/nnatom.el
lisp/net/eww.el