diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-24 17:29:45 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-24 17:29:45 +0000 |
commit | d7b44415da6ebe07bb1b5ebd7ce504d02bf66745 (patch) | |
tree | c7c3348457338c574e8af2f901b545d66d1d15bf /fm.h | |
parent | [w3m-dev 02901] DNS_ORDER_* (diff) | |
download | w3m-d7b44415da6ebe07bb1b5ebd7ce504d02bf66745.tar.gz w3m-d7b44415da6ebe07bb1b5ebd7ce504d02bf66745.zip |
[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"
Diffstat (limited to 'fm.h')
-rw-r--r-- | fm.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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); |