diff options
author | Michael Reed <Pyrohh@users.noreply.github.com> | 2015-07-19 15:39:03 -0400 |
---|---|---|
committer | Michael Reed <Pyrohh@users.noreply.github.com> | 2015-07-19 15:39:03 -0400 |
commit | 259db27aefba280a9c154017b8e852c6d70abdfc (patch) | |
tree | 2e1a467ff7798a9e52f0851f4ae894cdb19d8a37 /src/nvim/ex_docmd.c | |
parent | fcb79ffc40b93d5e0d165e1d001d073c83b8617e (diff) | |
parent | 85b7ea9a8770c42bf2cadb1d3fa605b58d82d7cb (diff) | |
download | rneovim-259db27aefba280a9c154017b8e852c6d70abdfc.tar.gz rneovim-259db27aefba280a9c154017b8e852c6d70abdfc.tar.bz2 rneovim-259db27aefba280a9c154017b8e852c6d70abdfc.zip |
Merge pull request #2943 from Pyrohh/rm-posix
[RDY] Remove POSIX 'cpoptions'
Reviewed-by: Felipe Morales <hel.sheep@gmail.com>
Reviewed-by: Marco Hinz <mh.codebro@gmail.com>
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 3b6e05fd8a..fc7e2c9b44 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -6834,12 +6834,6 @@ void ex_cd(exarg_T *eap) { if (allbuf_locked()) return; - if (vim_strchr(p_cpo, CPO_CHDIR) != NULL && curbufIsChanged() - && !eap->forceit) { - EMSG(_( - "E747: Cannot change directory, buffer is modified (add ! to override)")); - return; - } /* ":cd -": Change to previous directory */ if (STRCMP(new_dir, "-") == 0) { |