Source

misc-games / morse.el

Diff from to
-;;; morse.el --- Convert text to morse code and back.
+;;; morse.el --- convert text to morse code and back
 
 ;; Copyright (C) 1995 Free Software Foundation, Inc.
 
 ;; Author: Rick Farnbach <rick_farnbach@MENTORG.COM>
+;; Keywords: games
 
 ;; This file is part of GNU Emacs.
 
 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 ;; Boston, MA 02111-1307, USA.
 
+;;; Commentary:
+
+;; Converts text to Morse code and back with M-x morese-region and
+;; M-x unmorse-region (though Morse code is no longer official :-().
+
 ;;; Code:
 
 (defvar morse-code '(("a" . ".-")
 		     ("9" . "----."))
   "Morse code character set.")
 
+;;;###autoload
 (defun morse-region (beg end)
   "Convert all text in a given region to morse code."
   (interactive "r")
 	       (forward-char 1)
 	       (setq sep "")))))))
 
+;;;###autoload
 (defun unmorse-region (beg end)
   "Convert morse coded text in region to ordinary ASCII text."
   (interactive "r")