From ce66d456b1cfdec5b12c11c1f951aee30a90db0e Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sat, 27 Jan 2024 09:53:23 +0200 Subject: Add gnosis-string-difference Custom variable, threshold value for string comparison. --- gnosis.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnosis.el b/gnosis.el index 7890b73..18d917c 100644 --- a/gnosis.el +++ b/gnosis.el @@ -66,6 +66,14 @@ :type 'string :group 'gnosis) +(defcustom gnosis-string-difference 1 + "Threshold value for string comparison in Gnosis. + +This variable determines the maximum acceptable Levenshtein distance +between two strings to consider them as similar." + :type 'integer + :group 'gnosis) + (defvar gnosis-images-dir (expand-file-name "images" gnosis-dir) "Gnosis images directory.") -- cgit v1.2.3