]> git.eshelyaron.com Git - emacs.git/commit
* lisp/net/newst-backend.el: Use lexical scoping and fix warnings
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 30 Oct 2017 18:15:00 +0000 (14:15 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 30 Oct 2017 18:15:00 +0000 (14:15 -0400)
commit7f1d7234ba2ccf36995d19135c1238b97e26645e
tree2fbdbea7097cd62f9c3e02a8f54ab441cc21cb82
parent764740318f3f1029cf3d45738631cf5c459affd8
* lisp/net/newst-backend.el: Use lexical scoping and fix warnings

(newsticker-stop, newsticker-get-all-news)
(newsticker--decode-rfc822-date, newsticker--lists-intersect-p)
(newsticker--update-process-ids, newsticker--cache-read)
(newsticker-opml-export, newsticker--run-auto-mark-filter)
(newsticker--do-run-auto-mark-filter): Use dolist.
(newsticker--insert-bytes): New function, to avoid string-to-multibyte.
(newsticker--get-news-by-funcall, newsticker--get-news-by-url-callback)
(newsticker--image-download-by-url-callback): Use it.
(newsticker--parse-rss-0.91, newsticker--parse-rss-0.92):
Remove unused var `pub-date`.
(newsticker--parse-generic-feed): Remove unused var `old-item`.
(newsticker--parse-generic-items): Use dolist and let rather than mapc
and setq.
(newsticker--image-download-by-url-callback): Simplify boolean expression.
lisp/net/newst-backend.el