summaryrefslogtreecommitdiff
path: root/lisp/gnus/mm-util.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-12-26 17:51:15 +0100
committerStefan Kangas <stefan@marxist.se>2021-12-26 17:51:15 +0100
commitd8fc436bbb73634bae4b57a1a92ec6588ed2c5b1 (patch)
tree035656f5a265cf079dc9fa95222307c4fd8f52ba /lisp/gnus/mm-util.el
parent83e0acdf6e397eb2d340f3816d0991f2d6f05570 (diff)
downloademacs-d8fc436bbb73634bae4b57a1a92ec6588ed2c5b1.tar.gz
emacs-d8fc436bbb73634bae4b57a1a92ec6588ed2c5b1.tar.bz2
emacs-d8fc436bbb73634bae4b57a1a92ec6588ed2c5b1.zip
Prefer the defcustom :risky property in gnus
* lisp/gnus/gnus-art.el (gnus-button-alist) (gnus-header-button-alist): * lisp/gnus/gnus-group.el (gnus-group-highlight) (gnus-group-icon-list): * lisp/gnus/gnus-sum.el (gnus-summary-highlight): * lisp/gnus/mm-util.el (mm-charset-eval-alist): Prefer the defcustom :risky property to setting 'risky-local-variable manually.
Diffstat (limited to 'lisp/gnus/mm-util.el')
-rw-r--r--lisp/gnus/mm-util.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/gnus/mm-util.el b/lisp/gnus/mm-util.el
index ddc228e4900..a0b3288f13f 100644
--- a/lisp/gnus/mm-util.el
+++ b/lisp/gnus/mm-util.el
@@ -101,9 +101,9 @@ version, you could use `autoload-coding-system' here."
:type '(list (repeat :inline t
:tag "Other options"
(cons (symbol :tag "charset")
- (symbol :tag "form"))))
+ (symbol :tag "form"))))
+ :risky t
:group 'mime)
-(put 'mm-charset-eval-alist 'risky-local-variable t)
(defvar mm-charset-override-alist)