comparison lispref/loading.texi @ 53299:3abc89cd99a2

(How Programs Do Loading): Add anchor.
author Luc Teirlinck <teirllm@auburn.edu>
date Thu, 25 Dec 2003 03:59:14 +0000
parents 1a5c50faf357
children 5089d03a2061
comparison
equal deleted inserted replaced
53298:8066757520a8 53299:3abc89cd99a2
138 @defvar load-in-progress 138 @defvar load-in-progress
139 This variable is non-@code{nil} if Emacs is in the process of loading a 139 This variable is non-@code{nil} if Emacs is in the process of loading a
140 file, and it is @code{nil} otherwise. 140 file, and it is @code{nil} otherwise.
141 @end defvar 141 @end defvar
142 142
143 @anchor{Definition of load-read-function}
143 @defvar load-read-function 144 @defvar load-read-function
144 This variable specifies an alternate expression-reading function for 145 This variable specifies an alternate expression-reading function for
145 @code{load} and @code{eval-region} to use instead of @code{read}. 146 @code{load} and @code{eval-region} to use instead of @code{read}.
146 The function should accept one argument, just as @code{read} does. 147 The function should accept one argument, just as @code{read} does.
147 148
148 Normally, the variable's value is @code{nil}, which means those 149 Normally, the variable's value is @code{nil}, which means those
149 functions should use @code{read}. 150 functions should use @code{read}.
150 151
151 Instead of using this variable, it is cleaner to use another, newer 152 Instead of using this variable, it is cleaner to use another, newer
152 feature: to pass the function as the @var{read-function} argument to 153 feature: to pass the function as the @var{read-function} argument to
153 @code{eval-region}. @xref{Eval}. 154 @code{eval-region}. @xref{Definition of eval-region,, Eval}.
154 @end defvar 155 @end defvar
155 156
156 For information about how @code{load} is used in building Emacs, see 157 For information about how @code{load} is used in building Emacs, see
157 @ref{Building Emacs}. 158 @ref{Building Emacs}.
158 159