* play/morse.el (nato-alphabet, nato-region, denato-region):
New variable and functions. (Bug#2288)
+ (morse-region, unmorse-region): Barf if read-only.
2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
;;;###autoload
(defun morse-region (beg end)
"Convert all text in a given region to morse code."
- (interactive "r")
+ (interactive "*r")
(if (integerp end)
(setq end (copy-marker end)))
(save-excursion
;;;###autoload
(defun unmorse-region (beg end)
"Convert morse coded text in region to ordinary ASCII text."
- (interactive "r")
+ (interactive "*r")
(if (integerp end)
(setq end (copy-marker end)))
(save-excursion