(copyright-update-year): New function extracted from copyright-update.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 14 Jun 2003 20:11:37 +0000 (20:11 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 14 Jun 2003 20:11:37 +0000 (20:11 +0000)
commitf47f53024467c5af8d85e3023ce8da609a4aee8d
tree1214a34ec329fdf3135ba4a4c0b355e733a33902
parenteffe34908c6874c4026607ce715d58a3fb64a87c
(copyright-update-year): New function extracted from copyright-update.
When `arg' is set, replace the year, not the `copyright' text.
Ignore `copyright-update = nil' if called interactively.
Use "," rather than ", " if that's what was used before.
Recognize mixes of 2 and 4 digit years.
Use replace-match.
(copyright-update): Add interactivep arg.  Use it instead of use last-command.
Use replace-match.  Don't assume (point-min) == 1.
lisp/ChangeLog
lisp/emacs-lisp/copyright.el