aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-01-24 17:29:45 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-01-24 17:29:45 +0000
commitd7b44415da6ebe07bb1b5ebd7ce504d02bf66745 (patch)
treec7c3348457338c574e8af2f901b545d66d1d15bf /fm.h
parent[w3m-dev 02901] DNS_ORDER_* (diff)
downloadw3m-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 '')
-rw-r--r--fm.h6
1 files changed, 5 insertions, 1 deletions
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);