diff lisp/gnus/message.el @ 110156:a2439ed30c52

message.el (message-generate-hashcash): Change default to 'opportunistic if hashcash is installed; gnus-html.el (gnus-html-put-image): Only call image-size once, since it's somewhat time-consuming on remote X servers.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Fri, 03 Sep 2010 00:55:58 +0000
parents 53415017c4cc
children b799d38f522a
line wrap: on
line diff
--- a/lisp/gnus/message.el	Thu Sep 02 23:57:08 2010 +0200
+++ b/lisp/gnus/message.el	Fri Sep 03 00:55:58 2010 +0000
@@ -1726,13 +1726,14 @@
 		 (const :tag "Never" nil)
 		 (const :tag "Always" t)))
 
-(defcustom message-generate-hashcash (if (executable-find "hashcash") t)
+(defcustom message-generate-hashcash (if (executable-find "hashcash") 'opportunistic)
   "*Whether to generate X-Hashcash: headers.
 If t, always generate hashcash headers.  If `opportunistic',
 only generate hashcash headers if it can be done without the user
 waiting (i.e., only asynchronously).
 
 You must have the \"hashcash\" binary installed, see `hashcash-path'."
+  :version "24.1"
   :group 'message-headers
   :link '(custom-manual "(message)Mail Headers")
   :type '(choice (const :tag "Always" t)