From 2cefcb2f7900e9d19c801cde2b9a29731c986df9 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Mon, 4 Sep 2023 18:27:54 +0200 Subject: [PATCH] ; * lisp/net/shr.el (shr-count): Fix typo. --- lisp/net/shr.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/shr.el b/lisp/net/shr.el index e130eea2fbe..84033c31ef4 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el @@ -2617,7 +2617,7 @@ flags that control whether to collect or render objects." columns)) (defun shr-count (dom elem) - (seq-count (lambda (x) + (seq-count (lambda (sub) (and (not (stringp sub)) (eq (dom-tag sub) elem))) (dom-children dom))) -- 2.39.2