summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-sum.el
diff options
context:
space:
mode:
authorMauro Aranda <maurooaranda@gmail.com>2023-10-23 18:04:25 -0300
committerStefan Kangas <stefankangas@gmail.com>2023-10-23 23:16:13 +0200
commit297fe945c57c33b51b890ea105d5f7c15a520bd0 (patch)
tree19a3eab64d23f89f9458b33b2edf2900f910feb6 /lisp/gnus/gnus-sum.el
parent3beb5f5e2403571085b99d05e4ee781281a1fd9c (diff)
downloademacs-297fe945c57c33b51b890ea105d5f7c15a520bd0.tar.gz
emacs-297fe945c57c33b51b890ea105d5f7c15a520bd0.tar.bz2
emacs-297fe945c57c33b51b890ea105d5f7c15a520bd0.zip
Fix minor defcustom issues in Gnus (Bug#66715)
* lisp/gnus/gnus-art.el (gnus-button-prefer-mid-or-mail): Allow function and add :tag to const values. * lisp/gnus/gnus-bookmark.el (gnus-bookmark-bookmark-inline-details): Fix docstring. * lisp/gnus/gnus-sum.el (gnus-simplify-subject-fuzzy-regexp): Allow a single regexp as value. * lisp/gnus/message.el (message-indent-citation-function): Allow a single function as value. (message-mail-alias-type): Allow for a list of options as value. (message-dont-reply-to-names): Allow a function as value. * lisp/gnus/spam-report.el (spam-report-url-ping-function): Fix default value for the function widget.
Diffstat (limited to 'lisp/gnus/gnus-sum.el')
-rw-r--r--lisp/gnus/gnus-sum.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index 0e81f95cd15..9992f46bbd5 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -315,7 +315,8 @@ This can either be a regular expression or list of regular expressions
that will be removed from subject strings if fuzzy subject
simplification is selected."
:group 'gnus-thread
- :type '(repeat regexp))
+ :type '(choice regexp
+ (repeat regexp)))
(defcustom gnus-show-threads t
"If non-nil, display threads in summary mode."