summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2015-01-26 16:14:17 +1100
committerLars Magne Ingebrigtsen <larsi@gnus.org>2015-01-26 16:14:17 +1100
commitdafb0ef852f88f535df5527def7516a13bf63c60 (patch)
treeb930dc4d84965fa8f844634c57916ac1d1b0edd8
parent8fded982c147ec5e062df4c11a8769e9443859f3 (diff)
downloademacs-dafb0ef852f88f535df5527def7516a13bf63c60.tar.gz
* lisp/net/shr.el (shr-make-table-1): Fix colspan typo.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/net/shr.el2
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 044c2999396..8af0ec46cad 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
+ * net/shr.el (shr-make-table-1): Fix colspan typo.
+
* net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
slightly.
diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index feb934c7190..a0c9eba4144 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -1660,7 +1660,7 @@ The preference is a float determined from `shr-prefer-media-type'."
(aref widths width-column)
10))
(when (and fill
- (setq colspan (dom-attr column colspan)))
+ (setq colspan (dom-attr column 'colspan)))
(setq colspan (min (string-to-number colspan)
;; The colspan may be wrong, so
;; truncate it to the length of the