2001-10-10 Katsumi Yamaoka <yamaoka@jpl.org>
+ * message.el (message-send-news): Don't modify the value of
+ `message-syntax-checks' if it is not a list (possibly it is
+ `dont-check-for-anything-just-trust-me').
+
+2001-10-10 Katsumi Yamaoka <yamaoka@jpl.org>
+
* gnus-group.el (gnus-group-name-charset-group-alist): Use
`find-coding-system' for XEmacs to check whether the coding-system
`utf-8' is available.
(list (cons "Followup-To" followup-field-charset)))
mime-field-encoding-method-alist))
(message-syntax-checks
- (if arg
+ (if (and arg
+ (listp message-syntax-checks))
(cons '(existing-newsgroups . disabled)
message-syntax-checks)
message-syntax-checks))
(run-hooks 'message-header-hook))
;; Note: This check will be disabled by the ".*" default value for
;; gnus-group-name-charset-group-alist. -- Pa 2001-10-07.
- (when group-field-charset
+ (when (and group-field-charset
+ (listp message-syntax-checks))
(setq message-syntax-checks
(cons '(valid-newsgroups . disabled)
message-syntax-checks)))