From 037a01105c696d28fc05297c2568f5b74359e3d0 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Fri, 15 Nov 2019 15:40:37 +0100 Subject: [PATCH] =?UTF-8?q?fixed=20issue=20with=20=C3=91yqy=20phonetics?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `setq` sets a variable globally, whereas I only needed it locally. Also fixed wrong phonetics. --- funcs.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/funcs.el b/funcs.el index 8c6f23d..1fc24a8 100644 --- a/funcs.el +++ b/funcs.el @@ -298,8 +298,8 @@ runes during org-mode export" ("ú" nil nil "u") ("i" nil nil "ɪ") ("u" nil nil "ʊ") - ("é" nil nil "e") - ("ó" nil nil "o") + ("é" nil nil "ø") + ("ó" nil nil "ɤ") ("e" nil nil "ɛ") ("o" nil nil "ɔ") (" " nil nil " ") @@ -335,7 +335,7 @@ need-dorsal: initial = 2, sinon t ou nil (phon (conlanging//nyqy-get-phoneme consonant curr-phon-list need-dorsal dorsal))) (if (eq need-dorsal 2) - (setq need-dorsal dorsal)) + (setq-local need-dorsal dorsal)) (conlanging//nyqy-convert (cdr text) (append phonetics (list phon))