diff options
author | Hinidu <hinidu@gmail.com> | 2014-04-12 00:34:15 +0300 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-05-28 13:08:54 -0400 |
commit | bf87a83058348694eadde290a1cc1bd478735ca0 (patch) | |
tree | 81eb5e009a516ad9826de1a8e05c2eb80a3a117e /src | |
parent | 9db774df44d3b516062e0c4d2c0e478941b73777 (diff) | |
download | rneovim-bf87a83058348694eadde290a1cc1bd478735ca0.tar.gz rneovim-bf87a83058348694eadde290a1cc1bd478735ca0.tar.bz2 rneovim-bf87a83058348694eadde290a1cc1bd478735ca0.zip |
Remove FEAT_SESSION
Support for :mksession command
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/ex_docmd.c | 2 | ||||
-rw-r--r-- | src/nvim/misc2.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index e532e5e97d..f17734eb5e 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -7065,7 +7065,7 @@ static void close_redir(void) } } -#if defined(FEAT_SESSION) && defined(USE_CRNL) +#ifdef USE_CRNL # define MKSESSION_NL static int mksession_nl = FALSE; /* use NL only in put_eol() */ #endif diff --git a/src/nvim/misc2.c b/src/nvim/misc2.c index 953344bdd5..c9c3edca71 100644 --- a/src/nvim/misc2.c +++ b/src/nvim/misc2.c @@ -362,8 +362,6 @@ int get_real_state(void) return State; } -#if defined(FEAT_SESSION) || defined(MSWIN) || defined(FEAT_GUI_MAC) \ - || defined(FEAT_GUI_GTK) || defined(PROTO) /* * Change to a file's directory. * Caller must call shorten_fnames()! @@ -377,7 +375,6 @@ int vim_chdirfile(char_u *fname) *path_tail_with_sep(dir) = NUL; return os_chdir((char *)dir) == 0 ? OK : FAIL; } -#endif /* * Change directory to "new_dir". Search 'cdpath' for relative directory names. |