Remove FEAT_SESSION

Support for :mksession command
This commit is contained in:
Hinidu
2014-04-12 00:34:15 +03:00
committed by Justin M. Keyes
parent 9db774df44
commit bf87a83058
3 changed files with 1 additions and 5 deletions

View File

@@ -138,7 +138,6 @@
#define FEAT_RIGHTLEFT #define FEAT_RIGHTLEFT
#define FEAT_SCROLLBIND #define FEAT_SCROLLBIND
#define FEAT_SEARCH_EXTRA #define FEAT_SEARCH_EXTRA
#define FEAT_SESSION
#define FEAT_SMARTINDENT #define FEAT_SMARTINDENT
#define FEAT_SPELL #define FEAT_SPELL
#define FEAT_STL_OPT #define FEAT_STL_OPT

View File

@@ -7065,7 +7065,7 @@ static void close_redir(void)
} }
} }
#if defined(FEAT_SESSION) && defined(USE_CRNL) #ifdef USE_CRNL
# define MKSESSION_NL # define MKSESSION_NL
static int mksession_nl = FALSE; /* use NL only in put_eol() */ static int mksession_nl = FALSE; /* use NL only in put_eol() */
#endif #endif

View File

@@ -362,8 +362,6 @@ int get_real_state(void)
return State; return State;
} }
#if defined(FEAT_SESSION) || defined(MSWIN) || defined(FEAT_GUI_MAC) \
|| defined(FEAT_GUI_GTK) || defined(PROTO)
/* /*
* Change to a file's directory. * Change to a file's directory.
* Caller must call shorten_fnames()! * Caller must call shorten_fnames()!
@@ -377,7 +375,6 @@ int vim_chdirfile(char_u *fname)
*path_tail_with_sep(dir) = NUL; *path_tail_with_sep(dir) = NUL;
return os_chdir((char *)dir) == 0 ? OK : FAIL; return os_chdir((char *)dir) == 0 ? OK : FAIL;
} }
#endif
/* /*
* Change directory to "new_dir". Search 'cdpath' for relative directory names. * Change directory to "new_dir". Search 'cdpath' for relative directory names.