texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * doc/texinfo.texi (Sample Function Definition):


From: Patrice Dumas
Subject: branch master updated: * doc/texinfo.texi (Sample Function Definition): move before or remove generic infomation from this node to focus on the example.
Date: Sat, 13 Aug 2022 02:43:53 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 7a318de1da * doc/texinfo.texi (Sample Function Definition): move 
before or remove generic infomation from this node to focus on the example.
7a318de1da is described below

commit 7a318de1da4cc7e65b58c15fd76a12f56f456d1d
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Aug 13 08:43:42 2022 +0200

    * doc/texinfo.texi (Sample Function Definition): move before
    or remove generic infomation from this node to focus on the example.
---
 ChangeLog        |  5 +++++
 doc/texinfo.texi | 19 +++++++------------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f4655f7ebf..d26c1e6176 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-08-13  Patrice Dumas  <pertusus@free.fr>
+
+       * doc/texinfo.texi (Sample Function Definition): move before
+       or remove generic infomation from this node to focus on the example.
+
 2022-08-13  Patrice Dumas  <pertusus@free.fr>
 
        * doc/texinfo.texi (Optional Arguments): do not present the use of
diff --git a/doc/texinfo.texi b/doc/texinfo.texi
index f1e85dddfd..7cdd1afcd3 100644
--- a/doc/texinfo.texi
+++ b/doc/texinfo.texi
@@ -11608,6 +11608,10 @@ This section describes all the definition commands of 
Texinfo.
 @node Functions Commands
 @subsection Functions and Similar Entities
 
+@cindex Function definitions
+@cindex Command definitions
+@cindex Macro definitions, programming-language
+
 This section describes the commands for describing functions and similar
 entities with simple arguments:
 
@@ -12256,18 +12260,12 @@ should be removed.
 
 @node Sample Function Definition
 @section A Sample Function Definition
-@cindex Function definitions
-@cindex Command definitions
-@cindex Macro definitions, programming-language
 @cindex Sample function definition
 
-A function definition uses the @code{@@defun} and @code{@@end defun}
-commands.  The name of the function follows immediately after the
-@code{@@defun} command and it is followed, on the same line, by the
-parameter list.
-
 Here is a definition from @ref{Calling Functions,,, elisp, The GNU Emacs
-Lisp Reference Manual}.
+Lisp Reference Manual}, using the @code{@@defun} command.  The name of the
+function, @code{apply}, follows immediately after the @code{@@defun}
+command and it is followed, on the same line, by the parameter list.
 
 @quotation
 @defun apply function @r{@b{&rest}} arguments
@@ -12349,9 +12347,6 @@ in the description of @@code@{mapcar@}.
 In this manual, this function is listed in the Command and Variable
 Index under @code{apply}.
 
-Ordinary variables and user options are described using a format like
-that for functions except that variables do not take arguments.
-
 
 @node Internationalization
 @chapter Internationalization



reply via email to

[Prev in Thread] Current Thread [Next in Thread]