Mercurial > hg > xemacs-beta
comparison man/lispref/building.texi @ 444:576fb035e263 r21-2-37
Import from CVS: tag r21-2-37
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:36:19 +0200 |
parents | 3ecd8885ac67 |
children | 87e011e66a78 |
comparison
equal
deleted
inserted
replaced
443:a8296e22da4e | 444:576fb035e263 |
---|---|
1 @c -*-texinfo-*- | 1 @c -*-texinfo-*- |
2 @c This is part of the XEmacs Lisp Reference Manual. | 2 @c This is part of the XEmacs Lisp Reference Manual. |
3 @c Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc. | 3 @c Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc. |
4 @c See the file lispref.texi for copying conditions. | 4 @c See the file lispref.texi for copying conditions. |
5 @setfilename ../../info/building.info | 5 @setfilename ../../info/building.info |
6 @node Building XEmacs and Object Allocation, Standard Errors, Tips, Top | 6 @node Building XEmacs and Object Allocation, Standard Errors, Tips, Top |
7 @appendix Building XEmacs; Allocation of Objects | 7 @appendix Building XEmacs; Allocation of Objects |
8 | 8 |
125 argument. It is called from @file{loadup.el} as appropriate. You should | 125 argument. It is called from @file{loadup.el} as appropriate. You should |
126 most emphatically @emph{not} call this yourself; it will reinitialize | 126 most emphatically @emph{not} call this yourself; it will reinitialize |
127 your XEmacs process and you'll be sorry. | 127 your XEmacs process and you'll be sorry. |
128 @end defun | 128 @end defun |
129 | 129 |
130 @deffn Command emacs-version | 130 @deffn Command emacs-version &optional arg |
131 This function returns a string describing the version of XEmacs that is | 131 This function returns a string describing the version of XEmacs that is |
132 running. It is useful to include this string in bug reports. | 132 running. It is useful to include this string in bug reports. |
133 | |
134 When called interactively with a prefix argument, insert string at point. | |
135 Don't use this function in programs to choose actions according | |
136 to the system configuration; look at @code{system-configuration} instead. | |
133 | 137 |
134 @example | 138 @example |
135 @group | 139 @group |
136 (emacs-version) | 140 (emacs-version) |
137 @result{} "XEmacs 20.1 [Lucid] (i586-unknown-linux2.0.29) | 141 @result{} "XEmacs 20.1 [Lucid] (i586-unknown-linux2.0.29) |
148 local site. | 152 local site. |
149 | 153 |
150 @example | 154 @example |
151 @group | 155 @group |
152 emacs-build-time "Mon Apr 7 20:28:52 1997" | 156 emacs-build-time "Mon Apr 7 20:28:52 1997" |
153 @result{} | 157 @result{} |
154 @end group | 158 @end group |
155 @end example | 159 @end example |
156 @end defvar | 160 @end defvar |
157 | 161 |
158 @defvar emacs-version | 162 @defvar emacs-version |
308 @group | 312 @group |
309 ((@var{used-conses} . @var{free-conses}) | 313 ((@var{used-conses} . @var{free-conses}) |
310 (@var{used-syms} . @var{free-syms}) | 314 (@var{used-syms} . @var{free-syms}) |
311 @end group | 315 @end group |
312 (@var{used-markers} . @var{free-markers}) | 316 (@var{used-markers} . @var{free-markers}) |
313 @var{used-string-chars} | 317 @var{used-string-chars} |
314 @var{used-vector-slots} | 318 @var{used-vector-slots} |
315 (@var{plist})) | 319 (@var{plist})) |
316 | 320 |
317 @group | 321 @group |
318 @result{} ((73362 . 8325) (13718 . 164) | 322 @result{} ((73362 . 8325) (13718 . 164) |
434 @code{garbage-collect} will set the threshold back to 10,000. (This does | 438 @code{garbage-collect} will set the threshold back to 10,000. (This does |
435 not apply if XEmacs was configured with @samp{--debug}. Therefore, be | 439 not apply if XEmacs was configured with @samp{--debug}. Therefore, be |
436 careful when setting @code{gc-cons-threshold} in that case!) | 440 careful when setting @code{gc-cons-threshold} in that case!) |
437 @end defopt | 441 @end defopt |
438 | 442 |
443 @ignore | |
439 @c Emacs 19 feature | 444 @c Emacs 19 feature |
440 @defun memory-limit | 445 @defun memory-limit |
441 This function returns the address of the last byte XEmacs has allocated, | 446 This function returns the address of the last byte XEmacs has allocated, |
442 divided by 1024. We divide the value by 1024 to make sure it fits in a | 447 divided by 1024. We divide the value by 1024 to make sure it fits in a |
443 Lisp integer. | 448 Lisp integer. |
444 | 449 |
445 You can use this to get a general idea of how your actions affect the | 450 You can use this to get a general idea of how your actions affect the |
446 memory usage. | 451 memory usage. |
447 @end defun | 452 @end defun |
453 @end ignore | |
448 | 454 |
449 @defvar pre-gc-hook | 455 @defvar pre-gc-hook |
450 This is a normal hook to be run just before each garbage collection. | 456 This is a normal hook to be run just before each garbage collection. |
451 Interrupts, garbage collection, and errors are inhibited while this hook | 457 Interrupts, garbage collection, and errors are inhibited while this hook |
452 runs, so be extremely careful in what you add here. In particular, | 458 runs, so be extremely careful in what you add here. In particular, |