Fix some #saveoptions issues
The #name default key was 'N', but that gets bound to #runsoutheast when not using number_pad. Swap around the default #name key to M-n, and bind the 'N' to it in commands_init instead. The number_pad option wasn't getting saved because it has a separate handler - mark the option as changed even if the value did not change so it will be saved to the config.
This commit is contained in:
@@ -8003,6 +8003,8 @@ doset_simple(void)
|
||||
reslt = (*allopt[k].optfn)(allopt[k].idx, do_handler,
|
||||
FALSE, empty_optstr,
|
||||
empty_optstr);
|
||||
if (reslt == optn_ok)
|
||||
got_from_config[k] = TRUE;
|
||||
} else {
|
||||
char abuf[BUFSZ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user