When V8 source files are edited, the copyright date should be modified to the current year. If you don't use emacs, stop reading now.
Emacs has a function copyright-update that does the right thing. So, in your .emacs file define a wrapper that updates for the file types you care about (modify the following code as necessary): *(defun maybe-change-copyright-date ()* * "Change the copyright date on C++ and JavaScript buffers.* *Returns nil so it can be added to write-file-functions."* * (when (member major-mode '(c++-mode javascript-mode))* * (copyright-update t))* * nil)* Set copyright-names-regexp to match the names you care about (so you don't change Sun's copyright). It's a regexp so you can put whatever you need: *(setq copyright-names-regexp "the \\(V8\\|Dart\\) project authors")* And add your function to write-file-hooks: *(add-hook 'write-file-functions 'maybe-change-copyright-date)* * * The first optional argument to copyright-update tells it to use a single fresh year rather than a range or adding a year to a list. There is a second optional argument that if true will make it disable prompting, if you want that. -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev