]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix Morse for non-ASCII letters
authorMattias Engdegård <mattiase@acm.org>
Thu, 17 Jun 2021 09:18:46 +0000 (11:18 +0200)
committerMattias Engdegård <mattiase@acm.org>
Fri, 18 Jun 2021 13:01:03 +0000 (15:01 +0200)
* lisp/play/morse.el (morse-code): Downcase letters in the table
because they must match downcased input.

lisp/play/morse.el

index 66a826fbd4a9985c9db170da9c4e6970665bdc83..bfb25ba1d564c886b5fe8c138c2c448eb887bb48 100644 (file)
                     ("8" . "---..")
                     ("9" . "----.")
                     ;; Non-ASCII
-                    ("Ä" . ".-.-")
-                    ("Æ" . ".-.-")
-                    ("Á" . ".--.-")
-                    ("Å" . ".--.-")
-                    ;; ligature character?? ("Ch" . "----")
-                    ("ß" . ".../...")
-                    ("É" . "..-..")
-                    ("Ñ" . "--.--")
-                    ("Ö" . "---.")
-                    ("Ø" . "---.")
-                    ("Ü" . "..--")
+                    ("ä" . ".-.-")
+                    ("æ" . ".-.-")
+                    ("á" . ".--.-")
+                    ("å" . ".--.-")
+                    ("ß" . ".../...")  ; also ...--..
+                    ("é" . "..-..")
+                    ("ñ" . "--.--")
+                    ("ö" . "---.")
+                    ("ø" . "---.")
+                    ("ü" . "..--")
                     ;; Recently standardized
                     ("@" . ".--.-."))
   "Morse code character set.")