summaryrefslogtreecommitdiff
path: root/mh/mh.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2017-05-31 15:49:51 +0300
committerSergey Poznyakoff <gray@gnu.org>2017-05-31 15:49:51 +0300
commit383272e0d513559fbda73ebc9a485718e4184018 (patch)
tree31d4942302c99b46015c92fbed90a1e19905e0fe /mh/mh.h
parent82c5c521e859246cc12c5f8d63fabd5b013d3487 (diff)
downloadmailutils-383272e0d513559fbda73ebc9a485718e4184018.tar.gz
mailutils-383272e0d513559fbda73ebc9a485718e4184018.tar.bz2
Fix whatnow edit command
In whatnow shell, edit [program [parameters]] now calls program with supplied parameters plus the name of the file to edit. * mh/mh.h (mh_whatnow_env) <reedit>: New member. * mh/mh_whatnow.c (edit): Rewrite. * mh/whatnow.c (main): Properly handle argv[1] * NEWS: Update.
Diffstat (limited to 'mh/mh.h')
-rw-r--r--mh/mh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mh/mh.h b/mh/mh.h
index 65921e37d..9190ae919 100644
--- a/mh/mh.h
+++ b/mh/mh.h
@@ -216,6 +216,7 @@ struct mh_whatnow_env /* whatnow shell environment */
mu_list_t anno_list; /* List of messages (mu_message_t) to annotate */
mu_mailbox_t mbox;
int nowhatnowproc;
+ int reedit:1; /* Set if the editor was already invoked */
};
#define DISP_QUIT 0

Return to:

Send suggestions and report system problems to the System administrator.