aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-06-22 01:00:38 +0530
committerArun Isaac2022-06-22 01:00:38 +0530
commit7873e5b06106a60c6b4a7ba7ffe29d676b026d2a (patch)
tree1d091b6dc6b0d9913644d09249c9bfb1f675bda6
parent601f25011b8ddebe2e917a44aa135caa7d1ccc28 (diff)
downloadthogai-7873e5b06106a60c6b4a7ba7ffe29d676b026d2a.tar.gz
thogai-7873e5b06106a60c6b4a7ba7ffe29d676b026d2a.tar.lz
thogai-7873e5b06106a60c6b4a7ba7ffe29d676b026d2a.zip
Define thogai-english-stenography-rules variable.
* english-orthography.py: Define thogai-english-stenography-rules variable using defvar.
-rw-r--r--english-orthography.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/english-orthography.py b/english-orthography.py
index b7572c3..b9a0ea6 100644
--- a/english-orthography.py
+++ b/english-orthography.py
@@ -41,7 +41,7 @@ def make_elisp_safe(pattern):
.replace('|', '\\\\|')
print(';; Generated from plover.system.english_stenotype\n')
-print("(setq thogai-english-orthography-rules '(")
+print("(defvar thogai-english-orthography-rules '(")
for pattern, replacement in ORTHOGRAPHY_RULES:
print(f'("{make_elisp_safe(pattern)}" . "{make_elisp_safe(replacement)}")')
print('))')