comparison etc/NEWS @ 53506:da21878fbce2

Mention before-save-hook.
author Simon Josefsson <jas@extundo.com>
date Mon, 05 Jan 2004 18:21:12 +0000
parents e93d01ecd023
children a922672c7020
comparison
equal deleted inserted replaced
53505:780b9eb8b58e 53506:da21878fbce2
1734 1734
1735 ** `cfengine-mode' is a major mode for editing GNU Cfengine 1735 ** `cfengine-mode' is a major mode for editing GNU Cfengine
1736 configuration files. 1736 configuration files.
1737 1737
1738 * Lisp Changes in Emacs 21.4 1738 * Lisp Changes in Emacs 21.4
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.
1739 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
1743 `insert-for-yank-1' instead. 1748 `insert-for-yank-1' instead.