From c923eb9c6a049cb013733f0b2d7c01da39844c8a Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Tue, 6 Jun 2006 22:15:44 +0000
Subject: [PATCH] add minor documentation fixes from John M. Gabriele

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3629 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog             | 7 +++++++
 doc/nanorc.sample.in  | 5 +++++
 doc/syntax/man.nanorc | 2 +-
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index b73eef78..5e6dc7aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -496,6 +496,13 @@ CVS code -
 	- Simplify the extensions associated with the "nanorc" regexes.
 	  (DLR)
 	- Add regexes for Ruby. (John M. Gabriele, minor tweaks by DLR)
+- doc/nanorc.sample.in:
+	- Add comments describing the relationships between syntax file
+	  names and the names used as their short descriptions. (John M.
+	  Gabriele)
+- doc/man.nanorc:
+	- Change the name of the "manpage" regexes to "man", for
+	  consistency. (John M. Gabriele)
 - doc/nanorc.nanorc:
 	- Tweak the "nanorc" regexes to color comments starting with a
 	  double ## cyan instead of bright blue. (John M. Gabriele)
diff --git a/doc/nanorc.sample.in b/doc/nanorc.sample.in
index 00130bdb..a8c2db87 100644
--- a/doc/nanorc.sample.in
+++ b/doc/nanorc.sample.in
@@ -206,6 +206,11 @@
 ##
 ## include "syntax file"
 ##
+## The name of the syntax file (without the ".nanorc" extension) should
+## be the same as the "short description" name inside that file.  These
+## names are kept fairly short to make them easier to remember and
+## faster to type using nano's -Y option.
+##
 ## All regexes should be extended regular expressions.
 
 
diff --git a/doc/syntax/man.nanorc b/doc/syntax/man.nanorc
index cc56430d..85efd262 100644
--- a/doc/syntax/man.nanorc
+++ b/doc/syntax/man.nanorc
@@ -1,6 +1,6 @@
 ## Here is an example for manpages.
 ##
-syntax "manpage" "\.[1-9]x?$"
+syntax "man" "\.[1-9]x?$"
 color green "\.(S|T)H.*$"
 color brightgreen "\.(S|T)H" "\.TP"
 color brightred "\.(BR?|I[PR]?).*$"
-- 
GitLab