I found the following command in my .zshrc, probably copied from some website:
bindkey " " magic-space # do history expansion on space
The manpages are about as helpful as the very succinct comment:
magic-space
Perform history expansion and insert a space into the buffer. [...]
So what does magic-space actually do? Under which circumstances can I see this history expansion in action?