From d7b44415da6ebe07bb1b5ebd7ce504d02bf66745 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Thu, 24 Jan 2002 17:29:45 +0000 Subject: [w3m-dev 02901] Default URL for GOTO* * fm.h (DEFAULT_URL_*): added * fm.h (DefaultURLString): added * main.c (cmd_loadURL): add arg "referer" * main.c (goURL0): 2nd arg is "relative" flag check DefaultURLString if relative, then current and referer is set * main.c (ldhelp): cmd_loadURL arg changes * main.c (deletePrevBuf): ditto * main.c (cmd_loadBuffer): ditto * main.c (adBmark): ditto * main.c (follow_map): ditto * rc.c (CMT_DEFAULT_URL): added * rc.c (defaulturls): added * rc.c (params9): add "default_url" --- fm.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'fm.h') diff --git a/fm.h b/fm.h index 4d71f75..e3577d6 100644 --- a/fm.h +++ b/fm.h @@ -1,4 +1,4 @@ -/* $Id: fm.h,v 1.43 2002/01/24 17:07:40 ukai Exp $ */ +/* $Id: fm.h,v 1.44 2002/01/24 17:29:45 ukai Exp $ */ /* * w3m: WWW wo Miru utility * @@ -775,6 +775,10 @@ global int UseExternalDirBuffer init(TRUE); global char *DirBufferCommand init("file:///$LIB/dirlist" CGI_EXTENSION); global int ignore_null_img_alt init(TRUE); global int FoldTextarea init(FALSE); +#define DEFAULT_URL_EMPTY 0 +#define DEFAULT_URL_CURRENT 1 +#define DEFAULT_URL_LINK 2 +global int DefaultURLString init(DEFAULT_URL_EMPTY); #ifdef USE_MIGEMO global int use_migemo init(FALSE); -- cgit v1.2.3