--- message.el~ 2009-11-19 21:42:51 +0000 +++ message.el 2009-11-19 23:39:32 +0000 @@ -159,8 +159,7 @@ :group 'message-interface :type 'regexp) -(defcustom message-from-style - (if (featurep 'xemacs) 'default mail-from-style) +(defcustom message-from-style mail-from-style "*Specifies how \"From\" headers look. If nil, they contain just the return address like: @@ -434,7 +433,7 @@ :link '(custom-manual "(message)Various Commands") :group 'message-various) -(defcustom message-interactive (if (featurep 'xemacs) t mail-interactive) +(defcustom message-interactive mail-interactive "Non-nil means when sending a message wait for and display errors. nil means let mailer mail back a message to report errors." :group 'message-sending @@ -611,7 +610,7 @@ :type 'regexp) (defcustom message-cite-prefix-regexp - (cond ((not (featurep 'xemacs)) + (cond ((boundp 'mail-citation-prefix-regexp) mail-citation-prefix-regexp) ((string-match "[[:digit:]]" "1") ;; Support POSIX? XEmacs 21.5.27 doesn't. @@ -820,7 +819,7 @@ :type 'boolean) (defcustom message-sendmail-envelope-from - (if (featurep 'xemacs) nil mail-envelope-from) + (if (boundp 'mail-envelope-from) mail-envelope-from) "*Envelope-from when sending mail with sendmail. This only has an effect if `mail-specify-envelope-from' is non-nil. If this is nil, use `user-mail-address'. If it is the symbol @@ -998,7 +997,9 @@ :version "23.1" ;; No Gnus :group 'message-insertion) -(defcustom message-yank-prefix (if (featurep 'xemacs) "> " mail-yank-prefix) +(defcustom message-yank-prefix (if (boundp 'mail-yank-prefix) + mail-yank-prefix + "> ") "*Prefix inserted on the lines of yanked messages. Fix `message-cite-prefix-regexp' if it is set to an abnormal value. See also `message-yank-cited-prefix' and `message-yank-empty-prefix'." @@ -1024,7 +1025,7 @@ :group 'message-insertion) (defcustom message-indentation-spaces - (if (featurep 'xemacs) 3 mail-indentation-spaces) + (if (boundp 'mail-indentation-spaces) mail-indentation-spaces 3) "*Number of spaces to insert at the beginning of each cited line. Used by `message-yank-original' via `message-yank-cite'." :group 'message-insertion @@ -1053,7 +1054,7 @@ :link '(custom-manual "(message)Insertion Variables") :group 'message-insertion) -(defcustom message-signature (if (featurep 'xemacs) t mail-signature) +(defcustom message-signature mail-signature "*String to be inserted at the end of the message buffer. If t, the `message-signature-file' file will be inserted instead. If a function, the result from the function will be used instead. @@ -1063,7 +1064,7 @@ :group 'message-insertion) (defcustom message-signature-file - (if (featurep 'xemacs) "~/.signature" mail-signature-file) + (if (boundp 'mail-signature-file) mail-signature-file "~/.signature") "*Name of file containing the text inserted at end of message buffer. Ignored if the named file doesn't exist. If nil, don't insert a signature. @@ -1139,7 +1140,7 @@ :error "All header lines must be newline terminated") (defcustom message-default-headers - (if (featurep 'xemacs) "" mail-default-headers) + (if (boundp 'mail-default-headers) mail-default-headers "") "*A string containing header lines to be inserted in outgoing messages. It is inserted before you edit the message, so you can edit or delete these lines."