summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-06-18 19:38:04 -0400
committerrsiddharth <s@ricketyspace.net>2019-06-18 19:38:04 -0400
commitb2a77b518c18dffac2966ee0b3f6bc5c6ae77924 (patch)
tree845a6d13c9bcd138e4c1f648d7faa69fe6afe12b
parentfa533a8397c5f685242468e3244b3c616eb12774 (diff)
hn/g: Update athing:link.
hn/g (athing:link): Update function.
-rwxr-xr-xhn/g3
1 files changed, 1 insertions, 2 deletions
diff --git a/hn/g b/hn/g
index ef9cb94..8866e31 100755
--- a/hn/g
+++ b/hn/g
@@ -42,8 +42,7 @@
"Return athing link (HREF DESC)"
(let* ((s (sxpath "//a[@class=\"storylink\"]"))
(l (s a)))
- (list (sxml:attr (car l) 'href)
- (sxml:text l))))
+ (list (sxml:text l) (sxml:attr (car l) 'href))))
(define (athings:hash h athings:sxml)
(cond ((empty? athings:sxml) h)