emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnus / message-send-mail-with-mailclient [patch]


From: Eli Zaretskii
Subject: Re: gnus / message-send-mail-with-mailclient [patch]
Date: Fri, 17 Mar 2006 13:33:40 +0200

> From: Reiner Steib <address@hidden>
> Date: Thu, 16 Mar 2006 22:27:43 +0100
> Cc: address@hidden, address@hidden
> 
> +(defun message-send-mail-function ()
> +  "Return suitable value for the variable `message-send-mail-function'."
> +  (cond ((and sendmail-program
> +           (executable-find program))
> +      'message-send-mail-with-sendmail)
> +     ((and (locate-library "mailclient")
> +           window-system
> +           (memq system-type '(darwin windows-nt)))
> +      'message-send-mail-with-mailclient)
> +     (t
> +      'message-smtpmail-send-it)))

Why would you need to test that window-system is non-nil?  Perhaps I'm
missing something, but I don't see anything in mailclient.el that
would require an Emacs windowed display.  Can you explain?

For that matter, why the test for system-type?  Won't it work on other
systems as well?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]