comparison man/emodules.texi @ 775:7d972c3de90a

[xemacs-hg @ 2002-03-14 11:50:12 by stephent] New 21.5 Info docs, misc. <87r8mn8j4v.fsf@tleeps18.sk.tsukuba.ac.jp>
author stephent
date Thu, 14 Mar 2002 11:50:17 +0000
parents f72a191f8ecf
children beddd25fe24a
comparison
equal deleted inserted replaced
774:703228f54913 775:7d972c3de90a
853 @cindex subrs 853 @cindex subrs
854 @findex DEFUN 854 @findex DEFUN
855 @cindex functions, Lisp 855 @cindex functions, Lisp
856 @cindex functions, defining 856 @cindex functions, defining
857 857
858 Although the full syntax of a function declaration is discussed in the 858 The full syntax of a function declaration is discussed in the
859 @value{emacs} internals manual in greater depth, what follows is a brief 859 @value{emacs} internals manual in greater depth. @ref{Writing Lisp
860 description of how to define and implement a new Lisp primitive in a 860 Primitives,,,internals,@value{emacs} Internals Manual}. What follows is
861 module. This is done using the @code{DEFUN} macro. Here is a small 861 a brief description of how to define and implement a new Lisp primitive
862 example: 862 in a module. This is done using the @code{DEFUN} macro. Here is a
863 small example:
863 864
864 @example 865 @example
865 @cartouche 866 @cartouche
866 DEFUN ("my-function", Fmy_function, 1, 1, "FFile name: ", /* 867 DEFUN ("my-function", Fmy_function, 1, 1, "FFile name: ", /*
867 Sample Emacs primitive function. 868 Sample Emacs primitive function.