From: Richard M. Stallman Date: Fri, 25 Jan 2008 23:04:39 +0000 (+0000) Subject: Add `permanent-local-hook'. X-Git-Tag: emacs-pretest-23.0.90~8402 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2d105adf8b708a1ba7ebd56f74f18c751818e8dc;p=emacs.git Add `permanent-local-hook'. --- 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',