copyright.el updates.
authorGlenn Morris <rgm@gnu.org>
Tue, 25 Jan 2011 08:36:34 +0000 (00:36 -0800)
committerGlenn Morris <rgm@gnu.org>
Tue, 25 Jan 2011 08:36:34 +0000 (00:36 -0800)
commit0fe719e691955e8e4a7f5bc74ed981b2e8ca17ce
treee51b35f061a107899cfb14205c424067f53d846e
parentd0cb866238b3a7ab811ed666d21e8bd97f6f3b41
copyright.el updates.

* lisp/emacs-lisp/copyright.el (copyright-at-end-flag)
(copyright-names-regexp): Add safety properties.
(copyright-year-ranges): New option.
(copyright-find-end): New function, split from copyright-update-year.
(copyright-update-year): Use copyright-find-end.
(copyright-fix-years): Optionally, convert years to ranges.
Handle years continued over comment lines.
Do not mess with the fill-prefix.
Do not call copyright-update.
(copyright-update-directory): Optionally, fix years rather than update.
Skip directories.  Find files literally, with only safe local vars.

* etc/NEWS: Mention copyright-fix-years and ranges.
etc/NEWS
lisp/ChangeLog
lisp/emacs-lisp/copyright.el