optimization for with=foo
* tekuti/page.scm (page-feed-atom): Reduce "with=unknown" to nothing.
This commit is contained in:
parent
cee672f117
commit
62a351d8d5
1 changed files with 5 additions and 3 deletions
|
@ -347,9 +347,11 @@
|
|||
(if (pair? with)
|
||||
(fold (lambda (tag cont)
|
||||
(let ((posts (hash-ref tags tag '())))
|
||||
(lambda (post)
|
||||
(or (member (post-key post) posts)
|
||||
(cont post)))))
|
||||
(if (pair? posts)
|
||||
(lambda (post)
|
||||
(or (member (post-key post) posts)
|
||||
(cont post)))
|
||||
cont)))
|
||||
(lambda (post) #f)
|
||||
with)
|
||||
(lambda (post) #t)))
|
||||
|
|
Loading…
Reference in a new issue