Function: jump-to-register
jump-to-register is an interactive and byte-compiled function defined
in register.el.gz.
Signature
(jump-to-register REGISTER &optional DELETE)
Documentation
Move point to location stored in a register.
Push the mark if jumping moves point, unless called in succession.
If the register contains a file name, find that file.
(To put a file name in a register, you must use set-register.)
If the register contains a window configuration (one frame) or a frameset
(all frames), restore that frame or all frames accordingly.
First argument is a character, naming the register.
Optional second arg non-nil (interactively, prefix argument) says to
delete any existing frames that the frameset doesn't mention.
(Otherwise, these frames are iconified.)
Interactively, reads the register using register-read-with-preview.
Probably introduced at or before Emacs version 19.20.
Key Bindings
Aliases
Source Code
;; Defined in /usr/src/emacs/lisp/register.el.gz
(defun jump-to-register (register &optional delete)
"Move point to location stored in a register.
Push the mark if jumping moves point, unless called in succession.
If the register contains a file name, find that file.
\(To put a file name in a register, you must use `set-register'.)
If the register contains a window configuration (one frame) or a frameset
\(all frames), restore that frame or all frames accordingly.
First argument is a character, naming the register.
Optional second arg non-nil (interactively, prefix argument) says to
delete any existing frames that the frameset doesn't mention.
\(Otherwise, these frames are iconified.)
Interactively, reads the register using `register-read-with-preview'."
(interactive (list (register-read-with-preview "Jump to register: ")
current-prefix-arg))
(let ((val (get-register register)))
(register-val-jump-to val delete)))