aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/gnus/mml.el18
1 files changed, 12 insertions, 6 deletions
diff --git a/lisp/gnus/mml.el b/lisp/gnus/mml.el
index 8bdbe289bd9..83b16f135f9 100644
--- a/lisp/gnus/mml.el
+++ b/lisp/gnus/mml.el
@@ -132,8 +132,11 @@ The function is called with one parameter, which is the generated part.")
132 (mm-find-mime-charset-region point (point)))) 132 (mm-find-mime-charset-region point (point))))
133 (when (and (not raw) (memq nil charsets)) 133 (when (and (not raw) (memq nil charsets))
134 (if (or (memq 'unknown-encoding mml-confirmation-set) 134 (if (or (memq 'unknown-encoding mml-confirmation-set)
135 (y-or-n-p 135 (prog1 (y-or-n-p
136 "Message contains characters with unknown encoding. Really send?")) 136 "\
137Message contains characters with unknown encoding. Really send?")
138 (set (make-local-variable 'mml-confirmation-set)
139 (push 'unknown-encoding mml-confirmation-set))))
137 (if (setq use-ascii 140 (if (setq use-ascii
138 (or (memq 'use-ascii mml-confirmation-set) 141 (or (memq 'use-ascii mml-confirmation-set)
139 (y-or-n-p "Use ASCII as charset?"))) 142 (y-or-n-p "Use ASCII as charset?")))
@@ -153,10 +156,13 @@ The function is called with one parameter, which is the generated part.")
153 (when (and warn 156 (when (and warn
154 (not (memq 'multipart mml-confirmation-set)) 157 (not (memq 'multipart mml-confirmation-set))
155 (not 158 (not
156 (y-or-n-p 159 (prog1 (y-or-n-p
157 (format 160 (format
158 "Warning: Your message contains more than %d parts. Really send? " 161 "\
159 (length nstruct))))) 162A message part needs to be split into %d charset parts. Really send? "
163 (length nstruct)))
164 (set (make-local-variable 'mml-confirmation-set)
165 (push 'multipart mml-confirmation-set)))))
160 (error "Edit your message to use only one charset")) 166 (error "Edit your message to use only one charset"))
161 (setq struct (nconc nstruct struct))))))) 167 (setq struct (nconc nstruct struct)))))))
162 (unless (eobp) 168 (unless (eobp)