diff options
| author | Randy Palamar <randy@rnpnr.xyz> | 2025-11-23 20:05:59 -0700 |
|---|---|---|
| committer | Randy Palamar <randy@rnpnr.xyz> | 2025-11-24 05:25:54 -0700 |
| commit | 5df02c199959b9da42baff0c876bf87125178ca0 (patch) | |
| tree | a9f3be8b405006d3a92292bc1db3722c7279ec3e /vis-cmds.c | |
| parent | 1953c287ace801a6606abd6c3ead0ff345645bec (diff) | |
| download | vis-5df02c199959b9da42baff0c876bf87125178ca0.tar.gz vis-5df02c199959b9da42baff0c876bf87125178ca0.tar.xz | |
text: remove a bunch of unused save functions
These functions were only used for testing the text system. One of
them was moved to text-test.c to continue to facilitate this.
Otherwise these functions are just cluttering up the code and
making it hard to modify.
Diffstat (limited to 'vis-cmds.c')
| -rw-r--r-- | vis-cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -867,7 +867,7 @@ static bool cmd_help(Vis *vis, Win *win, Command *cmd, const char *argv[], Selec for (size_t i = 0; i < LENGTH(configs); i++) text_appendf(txt, " %-32s\t%s\n", configs[i].name, configs[i].enabled ? "yes" : "no"); - text_save(txt, NULL); + text_mark_current_revision(txt); view_cursors_to(vis->win->view.selection, 0); if (argv[1]) |
