From ba7c564bfe0eec84c845d3c7eef7785187433f90 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 2 Jun 2022 14:55:35 +0200 Subject: [PATCH] * lisp/play/morse.el: Doc fixes. --- lisp/play/morse.el | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/lisp/play/morse.el b/lisp/play/morse.el index 974e9fbc49c..5b7d343a79e 100644 --- a/lisp/play/morse.el +++ b/lisp/play/morse.el @@ -1,6 +1,6 @@ ;;; morse.el --- convert text to morse code and back -*- lexical-binding: t -*- -;; Copyright (C) 1995, 2001-2022 Free Software Foundation, Inc. +;; Copyright (C) 1995-2022 Free Software Foundation, Inc. ;; Author: Rick Farnbach ;; Keywords: games @@ -22,11 +22,11 @@ ;;; Commentary: -;; Converts text to Morse code and back with M-x morse-region and -;; M-x unmorse-region (though Morse code is no longer official :-(). +;; Convert plain text to Morse code and back with `M-x morse-region' and +;; `M-x unmorse-region'. -;; Converts text to NATO phonetic alphabet and back with M-x -;; nato-region and M-x denato-region. +;; Convert plain text to NATO spelling alphabet and back with +;; `M-x nato-region' and `M-x denato-region'. ;;; Code: @@ -142,14 +142,16 @@ ("(" . "Open") (")" . "Close") ("@" . "At")) - "NATO phonetic alphabet. + "NATO spelling alphabet. See “International Code of Signals” (INTERCO), United States Edition, 1969 Edition (Revised 2003) available from National -Geospatial-Intelligence Agency at URL `https://www.nga.mil/'") +Geospatial-Intelligence Agency at . +See also .") ;;;###autoload (defun morse-region (beg end) - "Convert all text in a given region to morse code." + "Convert plain text in region to Morse code. +See ." (interactive "*r") (if (integerp end) (setq end (copy-marker end))) @@ -172,7 +174,7 @@ Geospatial-Intelligence Agency at URL `https://www.nga.mil/'") ;;;###autoload (defun unmorse-region (beg end) - "Convert morse coded text in region to ordinary ASCII text." + "Convert Morse coded text in region to plain text." (interactive "*r") (if (integerp end) (setq end (copy-marker end))) @@ -194,7 +196,7 @@ Geospatial-Intelligence Agency at URL `https://www.nga.mil/'") ;;;###autoload (defun nato-region (beg end) - "Convert all text in a given region to NATO phonetic alphabet." + "Convert plain text in region to NATO spelling alphabet." ;; Copied from morse-region. -- ashawley 2009-02-10 (interactive "*r") (if (integerp end) @@ -218,7 +220,7 @@ Geospatial-Intelligence Agency at URL `https://www.nga.mil/'") ;;;###autoload (defun denato-region (beg end) - "Convert NATO phonetic alphabet in region to ordinary ASCII text." + "Convert NATO spelling alphabet text in region to plain text." ;; Copied from unmorse-region. -- ashawley 2009-02-10 (interactive "*r") (if (integerp end) -- 2.39.2