aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron S. Hawley2011-04-06 20:27:15 -0700
committerGlenn Morris2011-04-06 20:27:15 -0700
commiteb237b0f7f6c54fd7f6209a22e145422e5a6f222 (patch)
tree506f4d9ca9461e99eda3520f89a810a10d76fd28
parent5fac70838ce26b8609786364c223bb39e7b0593a (diff)
downloademacs-eb237b0f7f6c54fd7f6209a22e145422e5a6f222.tar.gz
emacs-eb237b0f7f6c54fd7f6209a22e145422e5a6f222.zip
* lisp/play/morse.el (denato-region): Handle varying case.
Fixes: debbugs:8386
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/play/morse.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 75bb06806bd..58aecb9e228 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2
3 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
4
12011-04-06 Chong Yidong <cyd@stupidchicken.com> 52011-04-06 Chong Yidong <cyd@stupidchicken.com>
2 6
3 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when 7 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
diff --git a/lisp/play/morse.el b/lisp/play/morse.el
index b88f1b264cb..fa0887c0ac5 100644
--- a/lisp/play/morse.el
+++ b/lisp/play/morse.el
@@ -231,7 +231,7 @@ Geospatial-Intelligence Agency at http://www.nga.mil/")
231 (if (null (looking-at "[a-z]+")) 231 (if (null (looking-at "[a-z]+"))
232 (forward-char 1) 232 (forward-char 1)
233 (setq str (buffer-substring (match-beginning 0) (match-end 0))) 233 (setq str (buffer-substring (match-beginning 0) (match-end 0)))
234 (if (null (setq nato (rassoc str nato-alphabet))) 234 (if (null (setq nato (rassoc (capitalize str) nato-alphabet)))
235 (goto-char (match-end 0)) 235 (goto-char (match-end 0))
236 (replace-match 236 (replace-match
237 (if (string-equal "(" (car nato)) 237 (if (string-equal "(" (car nato))