:charset-list '(unicode)
:pre-write-conversion 'utf-7-pre-write-conversion
:post-read-conversion 'utf-7-post-read-conversion)
-;; FIXME: `define-coding-system' automatically sets :ascii-compatible-p,
-;; but UTF-7 is not ASCII compatible; disable (bug#40407).
+;; FIXME: 'define-coding-system' automatically sets :ascii-compatible-p,
+;; to any encoding whose :coding-type is 'utf-8', but UTF-7 is not ASCII
+;; compatible, so we override that here (bug#40407).
(coding-system-put 'utf-7 :ascii-compatible-p nil)
(define-coding-system 'utf-7-imap