summaryrefslogtreecommitdiff
path: root/appl
diff options
context:
space:
mode:
Diffstat (limited to 'appl')
-rw-r--r--appl/acme/ecmd.b4
-rw-r--r--appl/cmd/cddb.b1
2 files changed, 4 insertions, 1 deletions
diff --git a/appl/acme/ecmd.b b/appl/acme/ecmd.b
index b85b5bb1..c31643f1 100644
--- a/appl/acme/ecmd.b
+++ b/appl/acme/ecmd.b
@@ -448,8 +448,10 @@ move(f: ref File, addr2: Address)
}else if(addr.r.q0 >= addr2.r.q1){
copy(f, addr2);
elogdelete(f, addr.r.q0, addr.r.q1);
+ }else if(addr.r.q0==addr2.r.q0 && addr.r.q1==addr2.r.q1){
+ ; # move to self; no-op
}else
- error("move overlaps itself");
+ editerror("move overlaps itself");
}
m_cmd(t: ref Text, cp: ref Cmd): int
diff --git a/appl/cmd/cddb.b b/appl/cmd/cddb.b
index 6265ba24..5d88725b 100644
--- a/appl/cmd/cddb.b
+++ b/appl/cmd/cddb.b
@@ -112,6 +112,7 @@ cddbfilltoc(t: ref Toc): int
return died(p);
categ = hd tl fl;
id = hd tl tl fl;
+ 210 or # exact matches
211 => # close matches
if((p = getline(bin)) == nil)
return died(nil);