From ac73d77cedf2095db198219746f1607b61b1b582 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Thu, 17 Jun 2021 11:18:46 +0200 Subject: [PATCH] Fix Morse for non-ASCII letters * lisp/play/morse.el (morse-code): Downcase letters in the table because they must match downcased input. --- lisp/play/morse.el | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/lisp/play/morse.el b/lisp/play/morse.el index 66a826fbd4a..bfb25ba1d56 100644 --- a/lisp/play/morse.el +++ b/lisp/play/morse.el @@ -79,17 +79,16 @@ ("8" . "---..") ("9" . "----.") ;; Non-ASCII - ("Ä" . ".-.-") - ("Æ" . ".-.-") - ("Á" . ".--.-") - ("Å" . ".--.-") - ;; ligature character?? ("Ch" . "----") - ("ß" . ".../...") - ("É" . "..-..") - ("Ñ" . "--.--") - ("Ö" . "---.") - ("Ø" . "---.") - ("Ü" . "..--") + ("ä" . ".-.-") + ("æ" . ".-.-") + ("á" . ".--.-") + ("å" . ".--.-") + ("ß" . ".../...") ; also ...--.. + ("é" . "..-..") + ("ñ" . "--.--") + ("ö" . "---.") + ("ø" . "---.") + ("ü" . "..--") ;; Recently standardized ("@" . ".--.-.")) "Morse code character set.") -- 2.39.5