--- a/joe/ushell.c
+++ b/joe/ushell.c
@@ -74,6 +74,7 @@
 	prm(q);
 
 	cfollow(b,byte);
+	undomark();
 }
 
 int cstart(BW *bw, unsigned char *name, unsigned char **s, void *obj, int *notify, int build, int out_only)