aboutsummaryrefslogtreecommitdiffstats
path: root/indep.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-07-26 17:16:24 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-07-26 17:16:24 +0000
commitc913794f0cdf4baf33c195eb7700b7d75d24537f (patch)
tree5821a81f4872e6272db6cf4ac0d872744588fd8e /indep.c
parentfix indent (diff)
downloadw3m-c913794f0cdf4baf33c195eb7700b7d75d24537f.tar.gz
w3m-c913794f0cdf4baf33c195eb7700b7d75d24537f.zip
[w3m-dev 03945] Re: application/xhtml+xml support
* Makefile.in (ETC_DIR): added (CONF_DIR): added (DEFS): add CONF_DIR (MAKE_ARGS): add CONF_DIR * config.h.in (SYS_MAILCAP): use CONF_DIR (SYS_URIMETHODMAP): use CONF_DIR * func.c (sys_current_keymap_file): added (interpret_keymap): added (initKeymap): use interpret_keymap (interpret_mouse_action): added (initMouseAction): use interpret_mouse_action * indep.c (w3m_conf_dir): added * indep.h (w3m_conf_dir): added * menu.c (interpret_menu): added (initMenu): use interpret_menu * proto.h (confFile): added * rc.c (init_rc): read config file by interpret_rc (confFile): added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--indep.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/indep.c b/indep.c
index c057aca..53c2876 100644
--- a/indep.c
+++ b/indep.c
@@ -1,4 +1,4 @@
-/* $Id: indep.c,v 1.33 2003/04/07 16:27:10 ukai Exp $ */
+/* $Id: indep.c,v 1.34 2003/07/26 17:16:24 ukai Exp $ */
#include "fm.h"
#include <stdio.h>
#include <pwd.h>
@@ -733,6 +733,12 @@ w3m_etc_dir()
}
char *
+w3m_conf_dir()
+{
+ return w3m_dir("W3M_CONF_DIR", CONF_DIR);
+}
+
+char *
w3m_help_dir()
{
return w3m_dir("W3M_HELP_DIR", HELP_DIR);