Index: etc/NEWS =================================================================== RCS file: /cvsroot/emacs/emacs/etc/NEWS,v retrieving revision 1.506 diff -u -r1.506 NEWS --- etc/NEWS 2001/11/03 19:17:39 1.506 +++ etc/NEWS 2001/11/04 16:49:00 @@ -8,6 +8,11 @@ * Changes in Emacs 21.2 +** Display of hollow cursors now uses the buffer-local value of +`cursor-in-non-selected-windows' in the buffer associated with the +cursor, if any, instead of using the value in the currently selected +buffer. + ** The default values of `tooltip-delay' and `tooltip-hide-delay' were changed. @@ -107,6 +112,15 @@ * Lisp Changes in Emacs 21.2 + ++++ +** New function `buffer-local-value'. + +- Function: buffer-local-value variable buffer + +This function returns the buffer-local binding of VARIABLE (a symbol) +in buffer BUFFER. If VARIABLE does not have a buffer-local binding in +buffer BUFFER, the default value of VARIABLE is returned instead. ** The default value of paragraph-start and indent-line-function has been changed to reflect the one used in text-mode rather than the one Index: lispref/variables.texi =================================================================== RCS file: /cvsroot/emacs/emacs/lispref/variables.texi,v retrieving revision 1.28 diff -u -r1.28 variables.texi --- lispref/variables.texi 2001/10/06 10:43:08 1.28 +++ lispref/variables.texi 2001/11/04 16:49:03 @@ -1359,6 +1359,13 @@ list does @emph{not} change the buffer-local values of the variables. @end defun address@hidden 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}, the default value +(@pxref{Default Value}) of @var{variable} is returned instead. address@hidden defun + @deffn Command kill-local-variable variable This function deletes the buffer-local binding (if any) for @var{variable} (a symbol) in the current buffer. As a result, the