diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-07-13 18:35:32 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-07-13 18:35:32 +0300 |
commit | fbab5e252f22de37d42cc6c2a014d690a9312565 (patch) | |
tree | 9552e56a343e5b9e273021ab53c376d773486447 /src/qreg.c | |
parent | 8c6de6cc718debf44f6056a4c34c4fbb13bc5020 (diff) | |
download | sciteco-fbab5e252f22de37d42cc6c2a014d690a9312565.tar.gz |
implemented <ER> command for reading a file into the current buffer
* This command exists in Video TECO.
In Video TECO it also supports reading multiple files with a glob pattern -- we do not support that
as I am not convinced of its usefulness.
* teco_view_load() has been extended, so it can read into dot without
discarding the existing document.
Diffstat (limited to 'src/qreg.c')
-rw-r--r-- | src/qreg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -337,7 +337,7 @@ teco_qreg_plain_load(teco_qreg_t *qreg, const gchar *filename, GError **error) * So if loading fails, teco_qreg_current will be * made the current document again. */ - if (!teco_view_load(teco_qreg_view, filename, error)) + if (!teco_view_load(teco_qreg_view, filename, TRUE, error)) return FALSE; if (teco_qreg_current) |