He went inside to find his keys, at which point he discovered the note.
In this sentence, does 'which' (a relative determiner) substitute for the entire clause 'He went inside to find his keys'? I am aware of sentential relative clauses, so I'm assuming that it acts in the same way.