* lisp/play/morse.el (denato-region): Handle varying case.
authorAaron S. Hawley <aaron.s.hawley@gmail.com>
Thu, 7 Apr 2011 03:27:15 +0000 (20:27 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 7 Apr 2011 03:27:15 +0000 (20:27 -0700)
Fixes: debbugs:8386

lisp/ChangeLog
lisp/play/morse.el

index 75bb068..58aecb9 100644 (file)
@@ -1,3 +1,7 @@
+2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
+
+       * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
+
 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
 
        * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
index b88f1b2..fa0887c 100644 (file)
@@ -231,7 +231,7 @@ Geospatial-Intelligence Agency at http://www.nga.mil/")
        (if (null (looking-at "[a-z]+"))
            (forward-char 1)
          (setq str (buffer-substring (match-beginning 0) (match-end 0)))
-         (if (null (setq nato (rassoc str nato-alphabet)))
+         (if (null (setq nato (rassoc (capitalize str) nato-alphabet)))
              (goto-char (match-end 0))
            (replace-match
                  (if (string-equal "(" (car nato))