Function: dom-text

dom-text is a byte-compiled function defined in dom.el.gz.

This function is obsolete since 31.1; use dom-inner-text instead.

Signature

(dom-text NODE)

Documentation

Return all the text bits in the current node concatenated.

Probably introduced at or before Emacs version 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/dom.el.gz
(defun dom-text (node)
  "Return all the text bits in the current node concatenated."
  (declare (obsolete dom-inner-text "31.1"))
  (mapconcat #'identity (cl-remove-if-not #'stringp (dom-children node)) " "))