summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-07-14 16:13:22 +0200
committerStefan Kangas <stefan@marxist.se>2022-07-14 16:19:52 +0200
commit2e0f43f113f2f2fd9d00ac802ac62f11374573a5 (patch)
tree76230d4076b5f51c4b2d37c5a59aafd6a0d24235
parentc02986e4c3c46aee6bf6ad4c0e9acd7ba9f906df (diff)
downloademacs-2e0f43f113f2f2fd9d00ac802ac62f11374573a5.tar.gz
Compress hashcash headers by default
* lisp/mail/hashcash.el (hashcash-extra-generate-parameters): Use compression by default.
-rw-r--r--lisp/mail/hashcash.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/mail/hashcash.el b/lisp/mail/hashcash.el
index 8d274d9cac4..eebb140088e 100644
--- a/lisp/mail/hashcash.el
+++ b/lisp/mail/hashcash.el
@@ -1,6 +1,6 @@
;;; hashcash.el --- Add hashcash payments to email -*- lexical-binding:t -*-
-;; Copyright (C) 2003-2005, 2007-2022 Free Software Foundation, Inc.
+;; Copyright (C) 2003-2022 Free Software Foundation, Inc.
;; Written by: Paul Foley <mycroft@actrix.gen.nz> (1997-2002)
;; Maintainer: emacs-devel@gnu.org
@@ -95,10 +95,12 @@ If this is not in your PATH, specify an absolute file name."
:type '(choice (const nil) file)
:group 'hashcash)
-(defcustom hashcash-extra-generate-parameters nil
+(defcustom hashcash-extra-generate-parameters '("-Z2")
"A list of parameter strings passed to `hashcash-program' when minting.
-For example, you may want to set this to (\"-Z2\") to reduce header length."
+For example, on very old hardware, you may want to set this
+to (\"-Z0\") to disable compression."
:type '(repeat string)
+ :version "29.1"
:group 'hashcash)
(defcustom hashcash-double-spend-database "hashcash.db"