This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Copyright dates


> When you update the copyright notice, make sure it looks reasonable.
> Specifically, if 1999 is not listed, but the file was changed in 1999
> (you can use `cvs log' to check this), go ahead and add 1999.  We
> often forget to update the copyright notice when a change is made.

For those of us who use Emacs, a reminder comes almost for free: Just
put

;update copyright automatically
(add-hook 'write-file-hooks 'copyright-update)

into your .emacs file, and emacs will ask for the update when you save
a file that has a copyright notice in it, but not the current year
listed.

Regards,
Martin

P.S. I guess most of us new all that already, but this was a perfect
opportunity to convert some new users to Emacs :-)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]