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 |
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 |
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 |