aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/qreg.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-13 18:35:32 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-07-13 18:35:32 +0300
commitfbab5e252f22de37d42cc6c2a014d690a9312565 (patch)
tree9552e56a343e5b9e273021ab53c376d773486447 /src/qreg.c
parent8c6de6cc718debf44f6056a4c34c4fbb13bc5020 (diff)
downloadsciteco-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qreg.c b/src/qreg.c
index 91f0deb..f08be17 100644
--- a/src/qreg.c
+++ b/src/qreg.c
@@ -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)