[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gtags-mode 830133b3ca 1/3: Use a set for gtags-mode-fea
From: |
ELPA Syncer |
Subject: |
[elpa] externals/gtags-mode 830133b3ca 1/3: Use a set for gtags-mode-features |
Date: |
Thu, 8 Aug 2024 12:58:20 -0400 (EDT) |
branch: externals/gtags-mode
commit 830133b3ca716464a7cfc62ac8621b09a785a754
Author: Jimmy Aguilar Mena <kratsbinovish@gmail.com>
Commit: Jimmy Aguilar Mena <kratsbinovish@gmail.com>
Use a set for gtags-mode-features
Use a set to simplify the user interface for customization. However
there is a issue in the emacs side related see:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72156
---
gtags-mode.el | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gtags-mode.el b/gtags-mode.el
index 6055f8bc36..0159e3fee9 100644
--- a/gtags-mode.el
+++ b/gtags-mode.el
@@ -75,7 +75,11 @@
(defcustom gtags-mode-features '(project xref completion imenu hooks)
"The list of features enabled in gtags-mode.
This variable must be set before enabling gtags-mode"
- :type '(repeat symbol)
+ :type '(set (const project)
+ (const xref)
+ (const completion)
+ (const imenu)
+ (const hooks))
:risky t)
(defcustom gtags-mode-verbose-level 2
@@ -195,6 +199,8 @@ On success return a list of strings or nil if any error
occurred."
(gtags-mode--message 1 "Can't start sync %s subprocess" cmd)
nil))
+
+
(defsubst gtags-mode--get-root (dir)
"Get the top dbpath given DIR.
Includes the remote prefix concatenation when needed."