Function: registerv-make
registerv-make is a byte-compiled function defined in register.el.gz.
This function is obsolete since 27.1; Use your own type with methods on register-val-(insert|describe|jump-to)
Signature
(registerv-make DATA &key PRINT-FUNC JUMP-FUNC INSERT-FUNC)
Documentation
Create a register value object.
DATA can be any value.
PRINT-FUNC if provided controls how list-registers and
view-register print the register. It should be a function
receiving one argument DATA and print text that completes
this sentence:
Register X contains [TEXT PRINTED BY PRINT-FUNC]
JUMP-FUNC if provided, controls how jump-to-register jumps to the register.
INSERT-FUNC if provided, controls how insert-register insert the register.
They both receive DATA as argument.
Source Code
;; Defined in /usr/src/emacs/lisp/register.el.gz
(cl-defun registerv-make (data &key print-func jump-func insert-func)
"Create a register value object.
DATA can be any value.
PRINT-FUNC if provided controls how `list-registers' and
`view-register' print the register. It should be a function
receiving one argument DATA and print text that completes
this sentence:
Register X contains [TEXT PRINTED BY PRINT-FUNC]
JUMP-FUNC if provided, controls how `jump-to-register' jumps to the register.
INSERT-FUNC if provided, controls how `insert-register' insert the register.
They both receive DATA as argument."
(declare (obsolete "Use your own type with methods on register-val-(insert|describe|jump-to)" "27.1"))
(registerv--make data print-func jump-func insert-func))