/[emacs]/emacs/lispref/variables.texi
ViewVC logotype

Diff of /emacs/lispref/variables.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.43 by miles, Mon Sep 1 15:45:41 2003 UTC revision 1.44 by rms, Fri Sep 19 14:33:21 2003 UTC
# Line 1319  This returns @code{t} if @var{variable} Line 1319  This returns @code{t} if @var{variable}
1319  @end defun  @end defun
1320    
1321  @defun buffer-local-value variable buffer  @defun buffer-local-value variable buffer
1322  This returns the value of @var{variable} that is currently in  This function returns the buffer-local binding of @var{variable} (a
1323  effect in @var{buffer}.  If it has no buffer-local binding in  symbol) in buffer @var{buffer}.  If @var{variable} does not have a
1324  @var{buffer}, this function returns the default value.  buffer-local binding in buffer @var{buffer}, it returns the default
1325    value (@pxref{Default Value}) of @var{variable} instead.
1326  @end defun  @end defun
1327    
1328  @defun buffer-local-variables &optional buffer  @defun buffer-local-variables &optional buffer
# Line 1358  Note that storing new values into the @s Line 1359  Note that storing new values into the @s
1359  list does @emph{not} change the buffer-local values of the variables.  list does @emph{not} change the buffer-local values of the variables.
1360  @end defun  @end defun
1361    
 @defun buffer-local-value variable buffer  
 This function returns the buffer-local binding of @var{variable} (a  
 symbol) in buffer @var{buffer}.  If @var{variable} does not have a  
 buffer-local binding in buffer @var{buffer}, it returns the default  
 value (@pxref{Default Value}) of @var{variable} instead.  
 @end defun  
   
1362  @deffn Command kill-local-variable variable  @deffn Command kill-local-variable variable
1363  This function deletes the buffer-local binding (if any) for  This function deletes the buffer-local binding (if any) for
1364  @var{variable} (a symbol) in the current buffer.  As a result, the  @var{variable} (a symbol) in the current buffer.  As a result, the
# Line 1770  unconditionally; @code{nil} means ignore Line 1764  unconditionally; @code{nil} means ignore
1764  the user what to do for each file.  The default value is @code{maybe}.  the user what to do for each file.  The default value is @code{maybe}.
1765  @end defopt  @end defopt
1766    
1767      Text properties are also potential loopholes, since their values
1768    could include functions to call.  So Emacs discards all text
1769    properties from string values specified in a file's local variables
1770    list.
1771    
1772  @ignore  @ignore
1773     arch-tag: 5ff62c44-2b51-47bb-99d4-fea5aeec5d3e     arch-tag: 5ff62c44-2b51-47bb-99d4-fea5aeec5d3e
1774  @end ignore  @end ignore

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26