[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tiny patch for wl



Hi,

can we make wl ignore missing wl-news.el file?

--- wl.el.bak	2011-07-18 22:33:44.048645733 +0200
+++ wl.el	2011-07-18 22:33:54.520489028 +0200
@@ -59,7 +59,7 @@
 (require 'wl-action)
 (require 'wl-thread)
 (require 'wl-address)
-(require 'wl-news)
+(require 'wl-news nil t)
 
 (wl-draft-mode-setup)
 (require 'wl-draft)
@@ -740,7 +740,8 @@
      (elmo-define-signal-filter (listener folder old-number new-number)
        (and folder
 	    (string= (elmo-folder-name-internal folder) wl-draft-folder))))
-    (wl-news-check)
+    (if (featurep 'wl-news)	
+        (wl-news-check))
     (setq wl-init t)
     ;; This hook may contain the functions `wl-plugged-init-icons' and
     ;; `wl-biff-init-icons' for reasons of system internal to accord



Thanks.
Herbert