From bae80a98a29e337be1f677cc40ca9d9a4219447e Mon Sep 17 00:00:00 2001
From: Grant Rettke <gcr@wisdomandwonder.com>
Date: Sun, 6 Aug 2017 15:46:26 -0500
Subject: [PATCH] Add Easy Template for COMMENT (C)

* lisp/org.el: (org-structure-template-alist): Added `COMMENT' block template
  bound to `C'

* doc/org.texi: Add documentation for `COMMENT' Easy Template.

* contrib/orgmanual.org: Add documentation for `COMMENT' Easy Template.
---
 contrib/orgmanual.org | 1 +
 doc/org.texi          | 1 +
 lisp/org.el           | 1 +
 3 files changed, 3 insertions(+)

diff --git a/contrib/orgmanual.org b/contrib/orgmanual.org
index 21011cd96..6cc88a86e 100644
--- a/contrib/orgmanual.org
+++ b/contrib/orgmanual.org
@@ -15922,6 +15922,7 @@ The following template selectors are currently supported:
 | {{{kbd(a)}}} | ~#+BEGIN_ASCII~ ...~ #+END_ASCII~     |
 | {{{kbd(A)}}} | ~#+ASCII:~                            |
 | {{{kbd(c)}}} | ~#+BEGIN_CENTER~ ... ~#+END_CENTER~   |
+| {{{kbd(C)}}} | ~#+BEGIN_COMMENT~ ... ~#+END_COMMENT~ |
 | {{{kbd(e)}}} | ~#+BEGIN_EXAMPLE~ ... ~#+END_EXAMPLE~ |
 | {{{kbd(h)}}} | ~#+BEGIN_HTML~ ... ~#+END_HTML~       |
 | {{{kbd(H)}}} | ~#+HTML:~                             |
diff --git a/doc/org.texi b/doc/org.texi
index db28bfee2..464886972 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -17346,6 +17346,7 @@ Org comes with these pre-defined easy templates:
 @item @kbd{q} @tab @code{#+BEGIN_QUOTE ... #+END_QUOTE}
 @item @kbd{v} @tab @code{#+BEGIN_VERSE ... #+END_VERSE}
 @item @kbd{c} @tab @code{#+BEGIN_CENTER ... #+END_CENTER}
+@item @kbd{C} @tab @code{#+BEGIN_COMMENT ... #+END_COMMENT}
 @item @kbd{l} @tab @code{#+BEGIN_EXPORT latex ... #+END_EXPORT}
 @item @kbd{L} @tab @code{#+LATEX:}
 @item @kbd{h} @tab @code{#+BEGIN_EXPORT html ... #+END_EXPORT}
diff --git a/lisp/org.el b/lisp/org.el
index 9c9df70e2..00b3e6ebf 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -12213,6 +12213,7 @@ keywords relative to each registered export back-end."
     ("v" "#+BEGIN_VERSE\n?\n#+END_VERSE")
     ("V" "#+BEGIN_VERBATIM\n?\n#+END_VERBATIM")
     ("c" "#+BEGIN_CENTER\n?\n#+END_CENTER")
+    ("C" "#+BEGIN_COMMENT\n?\n#+END_COMMENT")
     ("l" "#+BEGIN_EXPORT latex\n?\n#+END_EXPORT")
     ("L" "#+LaTeX: ")
     ("h" "#+BEGIN_EXPORT html\n?\n#+END_EXPORT")
-- 
2.14.0

