1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-16 09:50:25 +00:00
Commit Graph

7 Commits

Author SHA1 Message Date
Glenn Morris
45e199d4a4 * lisp/dom.el: Load subr-x when compiling, for when-let. 2015-04-30 20:09:50 -04:00
Lars Magne Ingebrigtsen
f113707a07 * lisp/dom.el (dom-previous-sibling): New function. 2015-02-22 13:09:54 +01:00
Lars Magne Ingebrigtsen
b6b9d465cb * lisp/dom.el (dom-strings): New function. 2015-01-16 03:08:55 +01:00
Paul Eggert
7e09ef09a4 Update copyright year to 2015
Run admin/update-copyright.
2015-01-01 14:26:41 -08:00
Lars Magne Ingebrigtsen
2d431afee4 Add a DOM pretty-printing function
* doc/lispref/text.texi (Document Object Model): Mention `dom-pp'.

* lisp/dom.el (dom-pp): New function.
2014-11-27 16:57:22 +01:00
Lars Magne Ingebrigtsen
7520f8919a Further eww dom.el cleanups
* net/eww.el (eww-tag-title): Use `dom-text'.

* dom.el (dom-by-tag): Use `equal' for comparisons so that tags
can be strings.
(dom-elements): Protect against non-text nodes.
(dom-non-text-children): New function.
2014-11-26 22:08:52 +01:00
Lars Magne Ingebrigtsen
115178cd46 * dom.el: New file. 2014-11-26 19:42:29 +01:00