point-to-register

point-to-register is an interactive compiled Lisp function in `register.el'.

It is bound to C-x r SPC, C-x r C-SPC, C-x r C-@.

(point-to-register REGISTER &optional ARG)

Store current location of point in register REGISTER.
With prefix argument, store current frame configuration.
Use C-x r j to go to that location or restore that configuration.
Argument is a character, naming the register.

Interactively, reads the register using `register-read-with-preview'.