Hi all

coming back to it after 3 years :)

im wondering if anyone has a hook or anything like that that auto adds a date when he creates a header. and maybe also auto change the date each time  the text under the header is changed? kind of simulating a timestamp type function :)

best

Z

On Fri, Jul 26, 2013 at 11:49 PM, Dave Marquardt <davemarq@us.ibm.com> wrote:
Xebar Saram <zeltakc@gmail.com> writes:

> does any one know of a way to auto insert/change the date in each sections
> header when the section is edited?IE have a date in the header showing
> last edited date.
> Is this technically possible?

Try setting before-save-hook.  See "(elisp) Saving Buffers".

-Dave