Mercurial > hg > xemacs-beta
comparison man/lispref/internationalization.texi @ 5361:62b9ef1ed4ac
Change "special form" to "special operator" in the manuals, too
2011-03-01 Aidan Kehoe <kehoea@parhasard.net>
* lispref/commands.texi (Using Interactive):
* lispref/compile.texi (Eval During Compile):
* lispref/compile.texi (Compiled-Function Objects):
* lispref/control.texi (Sequencing):
* lispref/control.texi (Conditionals):
* lispref/control.texi (Combining Conditions):
* lispref/control.texi (Iteration):
* lispref/control.texi (Catch and Throw):
* lispref/control.texi (Handling Errors):
* lispref/control.texi (Cleanups):
* lispref/display.texi (Temporary Displays):
* lispref/eval.texi (Quoting):
* lispref/eval.texi (Multiple values):
* lispref/frames.texi (Input Focus):
* lispref/functions.texi (Argument List):
* lispref/functions.texi (Defining Functions):
* lispref/functions.texi (Anonymous Functions):
* lispref/internationalization.texi (Level 3 Primitives):
* lispref/internationalization.texi (Domain Specification):
* lispref/intro.texi (A Sample Function Description):
* lispref/intro.texi (A Sample Variable Description):
* lispref/lists.texi (Sets And Lists):
* lispref/macros.texi (Defining Macros):
* lispref/macros.texi (Backquote):
* lispref/positions.texi (Excursions):
* lispref/positions.texi (Narrowing):
* lispref/searching.texi (Saving Match Data):
* lispref/sequences.texi (Sequence Functions):
* lispref/sequences.texi (Array Functions):
* lispref/specifiers.texi (Adding Specifications):
* lispref/variables.texi (Local Variables):
* lispref/variables.texi (Defining Variables):
* lispref/variables.texi (Setting Variables):
* lispref/variables.texi (Default Value):
* lispref/windows.texi (Selecting Windows):
* lispref/windows.texi (Window Configurations):
No longer use @defspec, since we no longer use the term "special
form"; instead use @deffn {Special Operator}. Unfortunately
there's no way in texinfo to redefine @defspec in one place.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Tue, 01 Mar 2011 14:18:45 +0000 |
parents | 03ab78e48ef6 |
children | a46c5c8d6564 |
comparison
equal
deleted
inserted
replaced
5359:f5a5501814f5 | 5361:62b9ef1ed4ac |
---|---|
81 | 81 |
82 If @code{I18N3} was not enabled when XEmacs was compiled, this function does | 82 If @code{I18N3} was not enabled when XEmacs was compiled, this function does |
83 nothing. | 83 nothing. |
84 @end defun | 84 @end defun |
85 | 85 |
86 @defspec domain string | 86 @deffn {Special Operator} domain string |
87 This function specifies the text domain used for translating documentation | 87 This function specifies the text domain used for translating documentation |
88 strings and interactive prompts of a function. For example, write: | 88 strings and interactive prompts of a function. For example, write: |
89 | 89 |
90 @example | 90 @example |
91 (defun foo (arg) "Doc string" (domain "emacs-foo") @dots{}) | 91 (defun foo (arg) "Doc string" (domain "emacs-foo") @dots{}) |
92 @end example | 92 @end example |
93 | 93 |
94 to specify @code{emacs-foo} as the text domain of the function @code{foo}. | 94 to specify @code{emacs-foo} as the text domain of the function @code{foo}. |
95 The ``call'' to @code{domain} is actually a declaration rather than a | 95 The ``call'' to @code{domain} is actually a declaration rather than a |
96 function; when actually called, @code{domain} just returns @code{nil}. | 96 function; when actually called, @code{domain} just returns @code{nil}. |
97 @end defspec | 97 @end deffn |
98 | 98 |
99 @defun domain-of function | 99 @defun domain-of function |
100 This function returns the text domain of @var{function}; it returns | 100 This function returns the text domain of @var{function}; it returns |
101 @code{nil} if it is the default domain. If @code{I18N3} was not enabled | 101 @code{nil} if it is the default domain. If @code{I18N3} was not enabled |
102 when XEmacs was compiled, it always returns @code{nil}. | 102 when XEmacs was compiled, it always returns @code{nil}. |
143 function body, before the @code{interactive} form. | 143 function body, before the @code{interactive} form. |
144 | 144 |
145 For variables and constants which have documentation strings, specify the | 145 For variables and constants which have documentation strings, specify the |
146 domain after the documentation. | 146 domain after the documentation. |
147 | 147 |
148 @defspec defvar symbol [value [doc-string [domain]]] | 148 @deffn {Special Operator} defvar symbol [value [doc-string [domain]]] |
149 Example: | 149 Example: |
150 @example | 150 @example |
151 (defvar weight 250 "Weight of gorilla, in pounds." "emacs-gorilla") | 151 (defvar weight 250 "Weight of gorilla, in pounds." "emacs-gorilla") |
152 @end example | 152 @end example |
153 @end defspec | 153 @end deffn |
154 | 154 |
155 @defspec defconst symbol [value [doc-string [domain]]] | 155 @deffn {Special Operator} defconst symbol [value [doc-string [domain]]] |
156 Example: | 156 Example: |
157 @example | 157 @example |
158 (defconst limbs 4 "Number of limbs" "emacs-gorilla") | 158 (defconst limbs 4 "Number of limbs" "emacs-gorilla") |
159 @end example | 159 @end example |
160 @end defspec | 160 @end deffn |
161 | 161 |
162 @defun autoload function filename &optional docstring interactive type | 162 @defun autoload function filename &optional docstring interactive type |
163 This function defines @var{function} to autoload from @var{filename} | 163 This function defines @var{function} to autoload from @var{filename} |
164 Example: | 164 Example: |
165 @example | 165 @example |