diff options
author | Thanos Apollo <[email protected]> | 2024-01-27 09:53:23 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-01-27 09:53:23 +0200 |
commit | ce66d456b1cfdec5b12c11c1f951aee30a90db0e (patch) | |
tree | 9f12be272c7abf9720dc998acc214ff979461f42 /gnosis.el | |
parent | 359da18eb17545a98abb7be0d5bb803338a810de (diff) |
Add gnosis-string-difference
Custom variable, threshold value for string comparison.
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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.") |