diff options
| author | Stefan Kangas | 2022-07-14 16:13:22 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-07-14 16:19:52 +0200 |
| commit | 2e0f43f113f2f2fd9d00ac802ac62f11374573a5 (patch) | |
| tree | 76230d4076b5f51c4b2d37c5a59aafd6a0d24235 | |
| parent | c02986e4c3c46aee6bf6ad4c0e9acd7ba9f906df (diff) | |
| download | emacs-2e0f43f113f2f2fd9d00ac802ac62f11374573a5.tar.gz emacs-2e0f43f113f2f2fd9d00ac802ac62f11374573a5.zip | |
Compress hashcash headers by default
* lisp/mail/hashcash.el (hashcash-extra-generate-parameters):
Use compression by default.
| -rw-r--r-- | lisp/mail/hashcash.el | 8 |
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 @@ | |||
| 1 | ;;; hashcash.el --- Add hashcash payments to email -*- lexical-binding:t -*- | 1 | ;;; hashcash.el --- Add hashcash payments to email -*- lexical-binding:t -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2003-2005, 2007-2022 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2003-2022 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Written by: Paul Foley <mycroft@actrix.gen.nz> (1997-2002) | 5 | ;; Written by: Paul Foley <mycroft@actrix.gen.nz> (1997-2002) |
| 6 | ;; Maintainer: emacs-devel@gnu.org | 6 | ;; Maintainer: emacs-devel@gnu.org |
| @@ -95,10 +95,12 @@ If this is not in your PATH, specify an absolute file name." | |||
| 95 | :type '(choice (const nil) file) | 95 | :type '(choice (const nil) file) |
| 96 | :group 'hashcash) | 96 | :group 'hashcash) |
| 97 | 97 | ||
| 98 | (defcustom hashcash-extra-generate-parameters nil | 98 | (defcustom hashcash-extra-generate-parameters '("-Z2") |
| 99 | "A list of parameter strings passed to `hashcash-program' when minting. | 99 | "A list of parameter strings passed to `hashcash-program' when minting. |
| 100 | For example, you may want to set this to (\"-Z2\") to reduce header length." | 100 | For example, on very old hardware, you may want to set this |
| 101 | to (\"-Z0\") to disable compression." | ||
| 101 | :type '(repeat string) | 102 | :type '(repeat string) |
| 103 | :version "29.1" | ||
| 102 | :group 'hashcash) | 104 | :group 'hashcash) |
| 103 | 105 | ||
| 104 | (defcustom hashcash-double-spend-database "hashcash.db" | 106 | (defcustom hashcash-double-spend-database "hashcash.db" |