emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master dafb0ef: * lisp/net/shr.el (shr-make-table-1): Fix


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master dafb0ef: * lisp/net/shr.el (shr-make-table-1): Fix colspan typo.
Date: Mon, 26 Jan 2015 05:14:27 +0000

branch: master
commit dafb0ef852f88f535df5527def7516a13bf63c60
Author: Lars Magne Ingebrigtsen <address@hidden>
Commit: Lars Magne Ingebrigtsen <address@hidden>

    * lisp/net/shr.el (shr-make-table-1): Fix colspan typo.
---
 lisp/ChangeLog  |    2 ++
 lisp/net/shr.el |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 044c299..8af0ec4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
 2015-01-26  Lars Ingebrigtsen  <address@hidden>
 
+       * 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 feb934c..a0c9eba 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]