summary refs log tree commit diff
path: root/Src/Zle/textobjects.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle/textobjects.c')
-rw-r--r--Src/Zle/textobjects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/textobjects.c b/Src/Zle/textobjects.c
index 85d014b27..37d2c0ad9 100644
--- a/Src/Zle/textobjects.c
+++ b/Src/Zle/textobjects.c
@@ -275,7 +275,7 @@ selectargument(UNUSED(char **args))
     noaliases = ona;
     strinend();
     inpop();
-    errflag = 0;
+    errflag &= ~ERRFLAG_ERROR;
     noerrs = ne;
     lexrestore();
     zlemetacs = ocs;