From 672b578c1982e5660bb0cbdfd463bf6cd5cf11c5 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Fri, 3 Sep 2010 01:46:03 +0200 Subject: [PATCH] Change default to 'opportunistic if hashcash is installed. --- lisp/ChangeLog | 3 +++ lisp/message.el | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5ce3acf40..75cea2169 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2010-09-02 Lars Magne Ingebrigtsen + * message.el (message-generate-hashcash): Change default to + 'opportunistic if hashcash is installed. + * gnus-html.el (gnus-html-rescale-image): Fix up typo in rescaling. (gnus-html-put-image): Only call image-size once, since it's somewhat time-consuming on remote X servers. diff --git a/lisp/message.el b/lisp/message.el index 2198702cf..f3697eb45 100644 --- a/lisp/message.el +++ b/lisp/message.el @@ -1699,13 +1699,14 @@ functionality to work." (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) -- 2.25.1