From ef2bca22bbf006a0c3a8dcfec0b4b220cfe69471 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Tue, 6 Jun 2023 08:32:37 +0300 Subject: [PATCH] ENHANCED: Add tooltip info for string-stye DCG terminals --- sweeprolog.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sweeprolog.el b/sweeprolog.el index 5fe3507..3e7499e 100644 --- a/sweeprolog.el +++ b/sweeprolog.el @@ -2542,7 +2542,8 @@ resulting list even when found in the current clause." ("dict_return_op" "Dict return operator") ("func_dot" "Dict function dot") (`("decl_option" . ,option) - (sweeprolog--help-echo-for-declaration-option option)))) + (sweeprolog--help-echo-for-declaration-option option)) + (`("dcg" . "string") "DCG terminal"))) (with-silent-modifications (put-text-property beg end 'help-echo help-echo)))) -- 2.39.5