diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-15 03:45:02 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-15 03:45:02 +0000 |
commit | 0b5a17e5c0412edc6f59dc59ab7558a213d94a1d (patch) | |
tree | 3c33e4b3fa6347c0a619d0efc8c13d9b1c179a1b /main.c | |
parent | [w3m-dev 02833] ssl_forbid_method in SSL Setting (diff) | |
download | w3m-0b5a17e5c0412edc6f59dc59ab7558a213d94a1d.tar.gz w3m-0b5a17e5c0412edc6f59dc59ab7558a213d94a1d.zip |
[w3m-dev 02834] mailto: use external program
Diffstat (limited to '')
-rw-r--r-- | main.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.56 2002/01/10 15:39:21 ukai Exp $ */ +/* $Id: main.c,v 1.57 2002/01/15 03:45:02 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -2602,6 +2602,7 @@ followA(void) return; } } +#ifndef USE_W3MMAILER if (!strncasecmp(a->url, "mailto:", 7)) { /* invoke external mailer */ fmTerm(); @@ -2611,6 +2612,7 @@ followA(void) displayBuffer(Currentbuf, B_FORCE_REDRAW); return; } +#endif #ifdef USE_NNTP else if (!strncasecmp(a->url, "news:", 5) && strchr(a->url, '@') == NULL) { /* news:newsgroup is not supported */ @@ -3539,6 +3541,7 @@ cmd_loadURL(char *url, ParsedURL *current) { Buffer *buf; +#ifndef USE_W3MMAILER if (!strncasecmp(url, "mailto:", 7)) { /* invoke external mailer */ fmTerm(); @@ -3548,8 +3551,9 @@ cmd_loadURL(char *url, ParsedURL *current) displayBuffer(Currentbuf, B_FORCE_REDRAW); return; } +#endif #ifdef USE_NNTP - else if (!strncasecmp(url, "news:", 5) && strchr(url, '@') == NULL) { + if (!strncasecmp(url, "news:", 5) && strchr(url, '@') == NULL) { /* news:newsgroup is not supported */ disp_err_message("news:newsgroup_name is not supported", TRUE); return; |