GNU bug report logs - #4554
local variable for updating the time stamp on save

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> jurta.org>

Date: Thu, 24 Sep 2009 21:10:05 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 4554 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Juri Linkov <juri <at> jurta.org>
Cc: 4554 <at> debbugs.gnu.org
Subject: Re: bug#4554: local variable for updating the time stamp on save
Date: Thu, 24 Sep 2009 20:44:49 -0400
> The defcustom `safe-local-eval-forms' contains
>     '((add-hook 'write-file-hooks 'time-stamp))

> but the documentation suggests using

>     (add-hook 'before-save-hook 'time-stamp)

> This patch adds the recommended form to `safe-local-eval-forms' as well:

Feel free to install this patch, thanks,


        Stefan



This bug report was last modified 15 years and 298 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.