diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-07-26 17:16:24 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-07-26 17:16:24 +0000 |
commit | c913794f0cdf4baf33c195eb7700b7d75d24537f (patch) | |
tree | 5821a81f4872e6272db6cf4ac0d872744588fd8e /indep.c | |
parent | fix indent (diff) | |
download | w3m-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.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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); |