From 66fc2a10602674171e2bc17f312e167d4f7c0c49 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sun, 5 Feb 2023 11:41:15 +0200 Subject: [PATCH] * (sweeprolog-rename-variable-allow-existing): refine custom type --- sweeprolog.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sweeprolog.el b/sweeprolog.el index fcb4c85..1041a4e 100644 --- a/sweeprolog.el +++ b/sweeprolog.el @@ -392,7 +392,9 @@ token via its `help-echo' text property." If it is the symbol `confirm', allow but ask for confirmation first." :package-version '((sweeprolog "0.15.1")) - :type 'symbol + :type '(choice (const :tag "Allow" t) + (const :tag "Confirm" confirm) + (const :tag "Refuse" nil)) :group 'sweeprolog) ;;;; Keymaps -- 2.39.2