diff options
| author | Simon Josefsson | 2004-01-05 18:21:12 +0000 |
|---|---|---|
| committer | Simon Josefsson | 2004-01-05 18:21:12 +0000 |
| commit | 652dd27103b2b5acb074f2b7f4f82d2944b1230e (patch) | |
| tree | c7c06a152ab8f6ff3d5721871b673d7fe924a345 | |
| parent | a0465ec316f9e010bde40c743853f837868ee9fc (diff) | |
| download | emacs-652dd27103b2b5acb074f2b7f4f82d2944b1230e.tar.gz emacs-652dd27103b2b5acb074f2b7f4f82d2944b1230e.zip | |
Mention before-save-hook.
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -1737,6 +1737,11 @@ configuration files. | |||
| 1737 | 1737 | ||
| 1738 | * Lisp Changes in Emacs 21.4 | 1738 | * Lisp Changes in Emacs 21.4 |
| 1739 | 1739 | ||
| 1740 | ** The new hook `before-save-hook' is invoked by `basic-save-buffer' | ||
| 1741 | before saving buffers. This allows packages to perform various final | ||
| 1742 | tasks, for example; it can be used by the copyright package to make | ||
| 1743 | sure saved files have the current year in any copyright headers. | ||
| 1744 | |||
| 1740 | ** The function `insert-for-yank' now supports strings where the | 1745 | ** The function `insert-for-yank' now supports strings where the |
| 1741 | `yank-handler' property does not span the first character of the | 1746 | `yank-handler' property does not span the first character of the |
| 1742 | string. The old behavior is available if you call | 1747 | string. The old behavior is available if you call |