diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2017-05-31 15:49:51 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2017-05-31 15:49:51 +0300 |
commit | 383272e0d513559fbda73ebc9a485718e4184018 (patch) | |
tree | 31d4942302c99b46015c92fbed90a1e19905e0fe /mh/mh.h | |
parent | 82c5c521e859246cc12c5f8d63fabd5b013d3487 (diff) | |
download | mailutils-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |