diff options
| author | Dmitry Gutov | 2020-12-09 21:42:19 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2020-12-09 22:56:48 +0200 |
| commit | ea8ff97536905ebc9157dd2194aaf68a17099b81 (patch) | |
| tree | b7595c6afdcc6087a171885483691b1295af3ca0 | |
| parent | 7f42cab82cf7aa5435400a03007ffb85590b39e5 (diff) | |
| download | emacs-ea8ff97536905ebc9157dd2194aaf68a17099b81.tar.gz emacs-ea8ff97536905ebc9157dd2194aaf68a17099b81.zip | |
Add missing defcustom keywords to new variables
* lisp/progmodes/xref.el (xref-search-program-alist)
(xref-search-program): Add :version and :package-version.
| -rw-r--r-- | lisp/progmodes/xref.el | 8 |
1 files 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: | |||
| 1355 | <R> for the regexp itself (in Extended format)" | 1355 | <R> for the regexp itself (in Extended format)" |
| 1356 | :type '(repeat | 1356 | :type '(repeat |
| 1357 | (cons (symbol :tag "Program identifier") | 1357 | (cons (symbol :tag "Program identifier") |
| 1358 | (string :tag "Command template")))) | 1358 | (string :tag "Command template"))) |
| 1359 | :version "28.1" | ||
| 1360 | :package-version '(xref . "1.0.4")) | ||
| 1359 | 1361 | ||
| 1360 | (defcustom xref-search-program 'grep | 1362 | (defcustom xref-search-program 'grep |
| 1361 | "The program to use for regexp search inside files. | 1363 | "The program to use for regexp search inside files. |
| @@ -1364,7 +1366,9 @@ This must reference a corresponding entry in `xref-search-program-alist'." | |||
| 1364 | :type `(choice | 1366 | :type `(choice |
| 1365 | (const :tag "Use Grep" grep) | 1367 | (const :tag "Use Grep" grep) |
| 1366 | (const :tag "Use ripgrep" ripgrep) | 1368 | (const :tag "Use ripgrep" ripgrep) |
| 1367 | (symbol :tag "User defined"))) | 1369 | (symbol :tag "User defined")) |
| 1370 | :version "28.1" | ||
| 1371 | :package-version '(xref . "1.0.4")) | ||
| 1368 | 1372 | ||
| 1369 | ;;;###autoload | 1373 | ;;;###autoload |
| 1370 | (defun xref-matches-in-files (regexp files) | 1374 | (defun xref-matches-in-files (regexp files) |