diff options
| author | Richard M. Stallman | 2008-01-25 23:04:39 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2008-01-25 23:04:39 +0000 |
| commit | 2d105adf8b708a1ba7ebd56f74f18c751818e8dc (patch) | |
| tree | 46e224fe008a6d942dbe5874a966603ae8fa35df | |
| parent | fd9a7a58319598fc714e01e1366b2032f3944172 (diff) | |
| download | emacs-2d105adf8b708a1ba7ebd56f74f18c751818e8dc.tar.gz emacs-2d105adf8b708a1ba7ebd56f74f18c751818e8dc.zip | |
Add `permanent-local-hook'.
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -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' | ||
| 444 | property, then `kill-all-local-variables' does not remove it from | ||
| 445 | the local value of the hook variable. This means it remains | ||
| 446 | even 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 |
| 445 | functions `read-from-minibuffer', `read-string', `read-command', | 450 | functions `read-from-minibuffer', `read-string', `read-command', |