summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-27 09:53:23 +0200
committerThanos Apollo <[email protected]>2024-01-27 09:53:23 +0200
commitce66d456b1cfdec5b12c11c1f951aee30a90db0e (patch)
tree9f12be272c7abf9720dc998acc214ff979461f42 /gnosis.el
parent359da18eb17545a98abb7be0d5bb803338a810de (diff)
Add gnosis-string-difference
Custom variable, threshold value for string comparison.
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el8
1 files changed, 8 insertions, 0 deletions
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.")