Is it possible to write an
execute-next-command function that calls the command that would have been called if the current binding was not active?
RET is bound to
newline by default. Let's say that I bind
my-command. In some cases,
my-command should execute whatever would have been executed for
RET if I hadn't bound it to
my-command. I could save the old binding before rebinding
RET, but I would rather avoid that.
EDIT: There is the
key-binding function, but it doesn't let you find the next binding.