diff options
| author | Damien Cassou | 2019-09-20 19:28:00 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-09-20 19:28:05 +0200 |
| commit | 1646e448d02195726cd44b0a8fb34c595b193a43 (patch) | |
| tree | d96fbbb12e181612f1f77761e94301414312d0bb | |
| parent | f1f2de7cdfa5e20577bbc2e2bf29de4cce525002 (diff) | |
| download | emacs-1646e448d02195726cd44b0a8fb34c595b193a43.tar.gz emacs-1646e448d02195726cd44b0a8fb34c595b193a43.zip | |
Change default value of message-make-forward-subject-function
* lisp/gnus/message.el (message-make-forward-subject-function): Change
default value to be a list so it's easier for users to add
functions. Change the type so the customize interface allows selecting
multiple provided functions instead of just one (bug#37470).
| -rw-r--r-- | lisp/gnus/message.el | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 48d79107ea8..9e0f2b461e3 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -532,7 +532,7 @@ If t, use `message-user-organization-file'." | |||
| 532 | :group 'message-headers) | 532 | :group 'message-headers) |
| 533 | 533 | ||
| 534 | (defcustom message-make-forward-subject-function | 534 | (defcustom message-make-forward-subject-function |
| 535 | #'message-forward-subject-name-subject | 535 | (list #'message-forward-subject-name-subject) |
| 536 | "List of functions called to generate subject headers for forwarded messages. | 536 | "List of functions called to generate subject headers for forwarded messages. |
| 537 | The subject generated by the previous function is passed into each | 537 | The subject generated by the previous function is passed into each |
| 538 | successive function. | 538 | successive function. |
| @@ -547,10 +547,12 @@ The provided functions are: | |||
| 547 | to it." | 547 | to it." |
| 548 | :group 'message-forwarding | 548 | :group 'message-forwarding |
| 549 | :link '(custom-manual "(message)Forwarding") | 549 | :link '(custom-manual "(message)Forwarding") |
| 550 | :type '(radio (function-item message-forward-subject-author-subject) | 550 | :version "27.1" |
| 551 | (function-item message-forward-subject-fwd) | 551 | :type '(repeat :tag "List of functions" |
| 552 | (function-item message-forward-subject-name-subject) | 552 | (radio (function-item message-forward-subject-author-subject) |
| 553 | (repeat :tag "List of functions" function))) | 553 | (function-item message-forward-subject-fwd) |
| 554 | (function-item message-forward-subject-name-subject) | ||
| 555 | (function)))) | ||
| 554 | 556 | ||
| 555 | (defcustom message-forward-as-mime nil | 557 | (defcustom message-forward-as-mime nil |
| 556 | "Non-nil means forward messages as an inline/rfc822 MIME section. | 558 | "Non-nil means forward messages as an inline/rfc822 MIME section. |