commit | 31e5c60a682840959cae6273ccadd9aae48c928d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Apr 15 13:53:33 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Apr 15 13:53:33 2022 +0100 |
tree | a72168baa32f1899937f3937a41b0832eac66b8f | |
parent | 5dc294a7b63ed0e508dd360bc4d98173f1a1aeec [diff] [blame] |
patch 8.2.4753: error from setting an option is silently ignored Problem: Error from setting an option is silently ignored. Solution: Handle option value errors better. Fix uses of N_().
diff --git a/src/undo.c b/src/undo.c index 1a4f6d0..56efb44 100644 --- a/src/undo.c +++ b/src/undo.c
@@ -3693,7 +3693,7 @@ vim_free(file_name); } - set_option_value((char_u *)"undofile", 0L, NULL, OPT_LOCAL); + set_option_value_give_err((char_u *)"undofile", 0L, NULL, OPT_LOCAL); } #endif