From ea8ff97536905ebc9157dd2194aaf68a17099b81 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Wed, 9 Dec 2020 21:42:19 +0200 Subject: [PATCH] Add missing defcustom keywords to new variables * lisp/progmodes/xref.el (xref-search-program-alist) (xref-search-program): Add :version and :package-version. --- lisp/progmodes/xref.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 389b7cf2478..7255079e87d 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -1355,7 +1355,9 @@ The template should have the following fields: for the regexp itself (in Extended format)" :type '(repeat (cons (symbol :tag "Program identifier") - (string :tag "Command template")))) + (string :tag "Command template"))) + :version "28.1" + :package-version '(xref . "1.0.4")) (defcustom xref-search-program 'grep "The program to use for regexp search inside files. @@ -1364,7 +1366,9 @@ This must reference a corresponding entry in `xref-search-program-alist'." :type `(choice (const :tag "Use Grep" grep) (const :tag "Use ripgrep" ripgrep) - (symbol :tag "User defined"))) + (symbol :tag "User defined")) + :version "28.1" + :package-version '(xref . "1.0.4")) ;;;###autoload (defun xref-matches-in-files (regexp files) -- 2.39.2