reread-file(3)reread-file - Reload the current buffer's file
n reread-file
n reread-all ["path"]
reread-file reloads from disk the file associated with the current buffer, this command is particularly useful when the file is continually updated by an external program. If the buffer has been edited and its name does not start with a '*' then the user is prompted as to whether the changes should be discarded. Also if the buffer has an active process running in it then confirmation is sort from the user before the process is killed.
The argument n can be used to change the default behavior of reread-file described above, n is a bit based flag where:
0x01
reread-all reloads out-of-date buffers. The argument n is a bit based flag where:
0x01
0x02
0x04
0x08
Note that when both 0x01 and 0x02 are clear, buffers with unsaved edits are left untouched (not reloaded) and no prompt is given. The default with no numeric argument (i.e. n is zero) is thus to reload out-of-date buffers that have no unsaved edits, leaving any buffer with unsaved edits untouched.
reread-file is a macro implemented in tool.emf.
Ref: reread-file(3) File: m3mac053.3 Date: 2026/07/16
(c) Copyright JASSPA 2026