[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Make shimbun.el pay attention to w3m-ignored-image-url-regexp
- From: David Engster <deng@xxxxxxxxxxxxxxx>
- Date: Tue, 09 Mar 2010 13:35:38 +0100
- X-ml-name: emacs-w3m
- X-mail-count: 11181
Wouldn't it make sense to let shimbun.el also consider
w3m-ignored-image-url-regexp when loading articles?
diff -u -r1.200 shimbun.el
--- shimbun.el 2 Sep 2009 01:42:55 -0000 1.200
+++ shimbun.el 9 Mar 2010 12:30:29 -0000
@@ -684,7 +684,8 @@
(substring url 0 (match-beginning 0))
url))
base-url))
- (unless (setq img (assoc url images))
+ (unless (or (setq img (assoc url images))
+ (string-match w3m-ignored-image-url-regexp url))
(with-temp-buffer
(set-buffer-multibyte nil)
(setq case-fold-search nil
Regards,
David