Add the 'undoreload' option to be able to undo a file reload.
diff --git a/src/main.c b/src/main.c
index d94b32a..4ccf356 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2470,7 +2470,7 @@
no_wait_return = TRUE;
i = msg_didany;
set_buflisted(TRUE);
- (void)open_buffer(TRUE, NULL); /* create memfile and read file */
+ (void)open_buffer(TRUE, NULL, 0); /* create memfile and read file */
no_wait_return = FALSE;
msg_didany = i;
TIME_MSG("reading stdin");
@@ -2591,7 +2591,9 @@
swap_exists_action = SEA_DIALOG;
#endif
set_buflisted(TRUE);
- (void)open_buffer(FALSE, NULL); /* create memfile, read file */
+
+ /* create memfile, read file */
+ (void)open_buffer(FALSE, NULL, 0);
#if defined(HAS_SWAP_EXISTS_ACTION)
if (swap_exists_action == SEA_QUIT)