# HG changeset patch # User Richard M. Stallman # Date 1201302279 0 # Node ID 076a7010723890a512262e58b1421b6766d5ca54 # Parent 8eba27dae69a2314585f9005782762b415f0a2e6 Add `permanent-local-hook'. diff -r 8eba27dae69a -r 076a70107238 etc/NEWS --- 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',