summaryrefslogtreecommitdiff
path: root/ted-internal.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-10-17 10:13:07 -0400
committerpommicket <pommicket@gmail.com>2023-10-17 10:13:07 -0400
commit13c10a7002fd25efc22d3f07f25f9bf693f83e89 (patch)
tree8fc2c1d5ba93d3dc0a8d05471b96d5978bffa212 /ted-internal.h
parent00fd503614571387750faac33069d1f2e500d59c (diff)
sort key actions (new config system seems to be working!)
Diffstat (limited to 'ted-internal.h')
-rw-r--r--ted-internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ted-internal.h b/ted-internal.h
index 0b53e6a..066c38c 100644
--- a/ted-internal.h
+++ b/ted-internal.h
@@ -484,6 +484,10 @@ void command_execute_ex(Ted *ted, Command c, const CommandArgument *argument, co
void config_read(Ted *ted, const char *filename);
void config_free_all(Ted *ted);
void config_merge_into(Settings *dest, const Config *src_cfg);
+/// call this after all your calls to \ref config_merge_into
+///
+/// (this sorts key actions, etc.)
+void settings_finalize(Ted *ted, Settings *settings);
bool config_applies_to(Config *cfg, const char *path, Language language);
/// higher-priority configs override lower-priority ones.
i32 config_priority(const Config *cfg);