ediff on file A and B, and then quit it to do a git commit. Then I want to reopen ediff (let's call it
rediff) with the same pair of files.
How do I do this? There is the
eregistry thing that I thought it is for this purpose.But I couldn't make it work. When I type
z and quit
ediff, there is nothing in the
eregistry when I do
Yes, there is a quick way to repeat any complex command (that is, a command that uses the minibuffer to read input):
C-x ESC ESC (aka
That inserts the Lisp form of the last complex command you executed in the minibuffer.
You can use
M-r, as usual, to retrieve previous elements from the input history. So if the last complex command was your
ediff command then
C-x ESC ESC puts it in the minibuffer, and you just hit
RET (Enter key) to repeat the command. If the
ediff command was further back than the last command then just use
M-r to retrieve it.