From 7873e5b06106a60c6b4a7ba7ffe29d676b026d2a Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 22 Jun 2022 01:00:38 +0530 Subject: Define thogai-english-stenography-rules variable. * english-orthography.py: Define thogai-english-stenography-rules variable using defvar. --- english-orthography.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('))') -- cgit v1.2.3