From 3aa9fbf4fab2f21c0a6f0dba510bfe8266578f2f Mon Sep 17 00:00:00 2001 From: Po Lu Date: Thu, 21 Dec 2023 09:37:04 +0800 Subject: [PATCH] Correct defcustoms in register.el * lisp/register.el (register-preview-default-keys) (register-use-preview): Render :version tags strings. --- lisp/register.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/register.el b/lisp/register.el index c5abcf45109..fe7e9282244 100644 --- a/lisp/register.el +++ b/lisp/register.el @@ -104,7 +104,7 @@ If nil, do not show register previews, unless `help-char' (or a member of (defcustom register-preview-default-keys (mapcar #'string (number-sequence ?a ?z)) "Default keys for setting a new register." :type '(repeat string) - :version 30.1) + :version "30.1") (defvar register--read-with-preview-function nil "The register read preview function to use. @@ -141,7 +141,7 @@ When set to \\='traditional provide a much more basic preview according to (const :tag "Use quick preview" nil) (const :tag "Never use preview" never) (const :tag "Basic preview like Emacs-29" traditional)) - :version 30.1 + :version "30.1" :set (lambda (var val) (set var val) (setq register--read-with-preview-function -- 2.39.2