Variable: register--read-with-preview-function

register--read-with-preview-function is a variable defined in register.el.gz.

Value

register-read-with-preview-traditional

Documentation

Function to use for reading a register name with preview.

Should implement the behavior documented for register-read-with-preview. Two functions are provided, one that provides navigation and highlighting of the selected register, filtering of register according to command in use, defaults register to use when setting a new register, confirmation and notification when you are about to overwrite a register, and generic functions to configure how each existing command behaves. Use the function register-read-with-preview-fancy for this. The other provided function, register-read-with-preview-traditional, behaves the same as in Emacs 29 and before: no filtering, no navigation, and no defaults.

Source Code

;; Defined in /usr/src/emacs/lisp/register.el.gz
(defvar register--read-with-preview-function nil
  "Function to use for reading a register name with preview.
Should implement the behavior documented for `register-read-with-preview'.
Two functions are provided, one that provides navigation and highlighting
of the selected register, filtering of register according to command in
use, defaults register to use when setting a new register, confirmation
and notification when you are about to overwrite a register, and generic
functions to configure how each existing command behaves.  Use the
function `register-read-with-preview-fancy' for this.  The other
provided function, `register-read-with-preview-traditional', behaves
the same as in Emacs 29 and before: no filtering, no navigation,
and no defaults.")