changeset 87982:076a70107238

Add `permanent-local-hook'.
author Richard M. Stallman <rms@gnu.org>
date Fri, 25 Jan 2008 23:04:39 +0000
parents 8eba27dae69a
children 1017bed4a1c2
files etc/NEWS
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Fri Jan 25 23:04:06 2008 +0000
+++ b/etc/NEWS	Fri Jan 25 23:04:39 2008 +0000
@@ -440,6 +440,11 @@
 ** New function `match-substitute-replacement' returns the result of
 `replace-match' without actually using it in the buffer.
 
+** If a local hook function has a non-nil `permanent-local-hook'
+property, then `kill-all-local-variables' does not remove it from
+the local value of the hook variable.  This means it remains
+even if you change major modes.
+
 +++
 ** A list of default values can be specified for the DEFAULT argument of
 functions `read-from-minibuffer', `read-string', `read-command',