]> git.eshelyaron.com Git - emacs.git/commitdiff
(Documentation Basics): Explain the xref to Documentation Tips.
authorRichard M. Stallman <rms@gnu.org>
Fri, 17 Jun 2005 13:43:31 +0000 (13:43 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 17 Jun 2005 13:43:31 +0000 (13:43 +0000)
lispref/help.texi

index dfbc6c220f3191d2a68991159c9505af36e8fc20..ec6dff13666e5d4b914848b02916ac3d298597ea 100644 (file)
@@ -47,13 +47,15 @@ of a function or variable.  In a function definition, the documentation
 string follows the argument list.  In a variable definition, the
 documentation string follows the initial value of the variable.
 
-  When you write a documentation string, make the first line a complete
-sentence (or two complete sentences) since some commands, such as
-@code{apropos}, show only the first line of a multi-line documentation
-string.  Also, you should not indent the second line of a documentation
-string, if it has one, because that looks odd when you use @kbd{C-h f}
-(@code{describe-function}) or @kbd{C-h v} (@code{describe-variable}) to
-view the documentation string.  @xref{Documentation Tips}.
+  When you write a documentation string, make the first line a
+complete sentence (or two complete sentences) since some commands,
+such as @code{apropos}, show only the first line of a multi-line
+documentation string.  Also, you should not indent the second line of
+a documentation string, if it has one, because that looks odd when you
+use @kbd{C-h f} (@code{describe-function}) or @kbd{C-h v}
+(@code{describe-variable}) to view the documentation string.  There
+are many other conventions for doc strings; see @ref{Documentation
+Tips}.
 
   Documentation strings can contain several special substrings, which
 stand for key bindings to be looked up in the current keymaps when the