projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa4db27
)
Make whatnow "list" work with "lproc: show" again. From Ruud de Rooij
author
Dan Harkless
<dan@harkless.org>
Thu, 13 May 1999 01:12:12 +0000
(
01:12
+0000)
committer
Dan Harkless
<dan@harkless.org>
Thu, 13 May 1999 01:12:12 +0000
(
01:12
+0000)
<r.c.m.derooij@twi.tudelft.nl>
uip/show.c
patch
|
blob
|
history
diff --git
a/uip/show.c
b/uip/show.c
index
5ab6370
..
75e4827
100644
(file)
--- a/
uip/show.c
+++ b/
uip/show.c
@@
-315,6
+315,14
@@
go_to_it: ;
vec[vecp] = NULL;
}
+ /* If the "proc" is "mhshow", add "-file" if showing file or draft.
+ */
+ if (strcmp (r1bindex (proc, '/'), "mhshow") == 0 && (draftsw || file) ) {
+ vec[vecp] = vec[vecp - 1];
+ vec[vecp - 1] = "-file";
+ vec[++vecp] = NULL;
+ }
+
/*
* If "proc" is mhl, then run it internally
* rather than exec'ing it.