; Simplify last change in shr.el
* lisp/net/shr.el (shr-max-columns): Simplify some function calls.
This commit is contained in:
parent
ef4c92bc0c
commit
bcb58180c7
1 changed files with 2 additions and 3 deletions
|
@ -2585,9 +2585,8 @@ flags that control whether to collect or render objects."
|
|||
(setq this 0)
|
||||
(dolist (column (dom-children row))
|
||||
(when (and (not (stringp column))
|
||||
(or (eq (dom-tag column) 'td)
|
||||
(eq (dom-tag column) 'th)))
|
||||
(setq this (+ (1+ this) (length rowspans)))
|
||||
(memq (dom-tag column) '(td th)))
|
||||
(setq this (+ 1 this (length rowspans)))
|
||||
;; We have a rowspan, which we emulate later in rendering
|
||||
;; by adding an extra column to the following rows.
|
||||
(when-let* ((span (dom-attr column 'rowspan)))
|
||||
|
|
Loading…
Add table
Reference in a new issue