diff options
author | James McCoy <jamessan@jamessan.com> | 2017-03-11 00:26:44 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2017-03-11 20:32:39 -0500 |
commit | d72c177b2a743e147e0386f97b07030b49247390 (patch) | |
tree | 72aeb690dabe2624cfd43c2b1da011270d15f467 /src/nvim/option.c | |
parent | 2ed2b1d505cc028347b579f677eb8e6bde9dacdd (diff) | |
download | rneovim-d72c177b2a743e147e0386f97b07030b49247390.tar.gz rneovim-d72c177b2a743e147e0386f97b07030b49247390.tar.bz2 rneovim-d72c177b2a743e147e0386f97b07030b49247390.zip |
lint
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index ba0a501c4a..9a39581ec5 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -3625,10 +3625,10 @@ set_bool_option ( FOR_ALL_BUFFERS(bp) { curbuf = bp; - /* When 'undofile' is set globally: for every buffer, otherwise - * only for the current buffer: Try to read in the undofile, - * if one exists, the buffer wasn't changed and the buffer was - * loaded */ + // When 'undofile' is set globally: for every buffer, otherwise + // only for the current buffer: Try to read in the undofile, + // if one exists, the buffer wasn't changed and the buffer was + // loaded if ((curbuf == save_curbuf || (opt_flags & OPT_GLOBAL) || opt_flags == 0) && !curbufIsChanged() && curbuf->b_ml.ml_mfp != NULL) { |