[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hook functions related to favicons
- From: TSUCHIYA Masatoshi <tsuchiya@xxxxxxxxxx>
- Date: Fri, 23 Apr 2004 12:17:58 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 06695
favicon について全く理解していないのですが,どうして favicon 関係のフッ
クの設定が w3m-favicon.el ではなく w3m.el で行われているのでしょう?
--
土屋 雅稔 ( TSUCHIYA Masatoshi )
--- w3m.el 10 Dec 2003 14:35:28 -0000 1.961
+++ w3m.el 11 Dec 2003 07:43:01 -0000
@@ -1861,9 +1861,6 @@
"Hook functions run after setting up the arrived URLs database.")
(defvar w3m-arrived-shutdown-functions nil
"Hook functions run after saving the arrived URLs database.")
-(when (featurep 'w3m-favicon)
- (add-hook 'w3m-arrived-setup-functions 'w3m-favicon-load-cache-file)
- (add-hook 'w3m-arrived-shutdown-functions 'w3m-favicon-save-cache-file))
(defconst w3m-image-type-alist
'(("image/jpeg" . jpeg)
--- w3m-favicon.el 5 Dec 2003 07:52:34 -0000 1.25
+++ w3m-favicon.el 11 Dec 2003 07:43:53 -0000
@@ -303,6 +303,9 @@
(error nil)))
(push (nconc elem (list image)) w3m-favicon-cache-data))))))
+(add-hook 'w3m-arrived-setup-functions 'w3m-favicon-load-cache-file)
+(add-hook 'w3m-arrived-shutdown-functions 'w3m-favicon-save-cache-file)
+
(provide 'w3m-favicon)
;;; w3m-favicon.el ends here