From 2d105adf8b708a1ba7ebd56f74f18c751818e8dc Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 25 Jan 2008 23:04:39 +0000 Subject: [PATCH] Add `permanent-local-hook'. --- etc/NEWS | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index 87822ef0d85..22e896db16c 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -440,6 +440,11 @@ search and match primitives from changing the match data. ** 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', -- 2.39.2