ref: 239c96346ae241b9625cd59ca574be5f017cef9e
parent: 57a6cfecbc447d44c11c7bc590706ea252c511a3
author: Ori Bernstein <[email protected]>
date: Fri Nov 6 00:42:57 EST 2020
remove Mark command: get rid of false hope.
--- a/mbox.c
+++ b/mbox.c
@@ -565,42 +565,6 @@
}
static void
-mbmarkmesg(char **f, int nf)
-{
- int flg, add;
-
- if(nf != 1)
- return;
- if(strlen(f[0]) != 1){
- fprint(2, "unknown mark %s", f[0]);
- return;
- }
- switch(*f[0]){
- case 'D':
- flg = Ftodel;
- add = 1;
- break;
- case 'K':
- flg = Ftodel;
- add = 0;
- break;
- case 'U':
- flg = Funseen;
- add = 1;
- break;
- case 'R':
- flg = Funseen;
- add = 0;
- break;
- default:
- fprint(2, "unknown mark %s", f[0]);
- return;
- }
- mark(f, nf, flg, add);
-
-}
-
-static void
showlist(void)
{
Biobuf *bfd;
@@ -716,7 +680,6 @@
{"Put", mbflush},
{"Delmesg", delmesg},
{"Undelmesg", undelmesg},
- {"Mark", mbmarkmesg},
{"Del", quitall},
{"Redraw", redraw},
{"Next", nextunread},