|
From: | Stefan Monnier |
Subject: | Re: Minor Auto-Copyright Update Prob |
Date: | Sun, 05 Feb 2006 09:07:37 -0500 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> Good catch. I copy/pasted from here: > (add-hook 'after-save-hook 'backup-each-save) > ...obviously w/o thinking it through. > What would you suggest I do to get this functionality? How 'bout reading the doc? They suggest (add-hook 'write-file-hooks 'copyright-update) or (add-hook 'before-save-hook 'copyright-update) depending on whether or not your Emacs is recent enough to have before-save-hook. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |