aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2008-01-25 23:04:39 +0000
committerRichard M. Stallman2008-01-25 23:04:39 +0000
commit2d105adf8b708a1ba7ebd56f74f18c751818e8dc (patch)
tree46e224fe008a6d942dbe5874a966603ae8fa35df
parentfd9a7a58319598fc714e01e1366b2032f3944172 (diff)
downloademacs-2d105adf8b708a1ba7ebd56f74f18c751818e8dc.tar.gz
emacs-2d105adf8b708a1ba7ebd56f74f18c751818e8dc.zip
Add `permanent-local-hook'.
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
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.
440** New function `match-substitute-replacement' returns the result of 440** New function `match-substitute-replacement' returns the result of
441`replace-match' without actually using it in the buffer. 441`replace-match' without actually using it in the buffer.
442 442
443** If a local hook function has a non-nil `permanent-local-hook'
444property, then `kill-all-local-variables' does not remove it from
445the local value of the hook variable. This means it remains
446even if you change major modes.
447
443+++ 448+++
444** A list of default values can be specified for the DEFAULT argument of 449** A list of default values can be specified for the DEFAULT argument of
445functions `read-from-minibuffer', `read-string', `read-command', 450functions `read-from-minibuffer', `read-string', `read-command',